nginx.conf 574 B

1234567891011121314151617181920
  1. server {
  2. listen 8080 default_server;
  3. server_name _;
  4. root /var/www/binternet;
  5. index index.php;
  6. location ~ \.php$ {
  7. fastcgi_pass unix:/run/php/php-fpm83.sock;
  8. fastcgi_index index.php;
  9. fastcgi_param PATH_INFO $path_info;
  10. fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
  11. fastcgi_split_path_info ^(.+?\.php)(/.*)$;
  12. try_files $fastcgi_script_name =404;
  13. set $path_info $fastcgi_path_info;
  14. include fastcgi_params;
  15. }
  16. }