Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- location /
- {
- try_files $uri $uri/ /index.php$request_uri;
- }
- location /upload
- {
- autoindex off;
- }
- location ^~ /index.php
- {
- internal;
- include fastcgi.conf;
- fastcgi_split_path_info ^(\/index\.php)(.*)$;
- fastcgi_param PATH_INFO $fastcgi_path_info;
- fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
- fastcgi_pass php-fpm;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement