Advertisement
Guest User

Untitled

a guest
Jun 2nd, 2014
364
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. location ~ ^(.+?\.php)(/.*)?$ {
  2. try_files $1 = 404;
  3.  
  4. include /usr/local/nginx/conf/fastcgi_params;
  5. fastcgi_param SCRIPT_FILENAME $document_root$1;
  6. fastcgi_param PATH_INFO $2;
  7. fastcgi_param HTTPS on;
  8. fastcgi_pass unix:/usr/local/var/run/php-fpm.sock;
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement