Guest User

Untitled

a guest
Sep 24th, 2018
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1.  
  2. location ~ \.php$ {
  3. root /usr/share/nginx/html;
  4. fastcgi_pass 127.0.0.1:9000;
  5. fastcgi_index index.php;
  6. #fastcgi_param SCRIPT_FILENAME /scripts$fastcgi_script_name;
  7. fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_Script_name;
  8. include /etc/nginx/fastcgi_params;
  9. }
  10. #
  11. # deny access to .htaccess files, if Apache's document root
  12. # concurs with nginx's one
  13. #
  14. #location ~ /\.ht {
  15. # deny all;
  16. #}
Add Comment
Please, Sign In to add comment