Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- location / {
- try_files $uri /index.php?$args;
- }
- location ~ [^/]\.php(/|$) {
- fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
- if (!-f $document_root$fastcgi_script_name) {
- return 404;
- }
- fastcgi_pass 127.0.0.1:9002;
- fastcgi_read_timeout 600;
- fastcgi_index index.php;
- include /etc/nginx/fastcgi_params;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement