Advertisement
Guest User

Untitled

a guest
Feb 20th, 2019
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. server {
  2. index index.php index.html;
  3. server_name localhost;
  4. error_log /var/log/nginx/error.log;
  5. access_log /var/log/nginx/access.log;
  6. root /var/www/html;
  7.  
  8. location ~ \.php$ {
  9. try_files $uri =404;
  10. fastcgi_split_path_info ^(.+\.php)(/.+)$;
  11. fastcgi_pass phpxdebug:9000;
  12. fastcgi_index index.php;
  13. include fastcgi_params;
  14. fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
  15. fastcgi_param PATH_INFO $fastcgi_path_info;
  16. }
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement