fastcgi-php.conf 422 B

12345678910111213
  1. # regex to split $uri to $fastcgi_script_name and $fastcgi_path
  2. fastcgi_split_path_info ^(.+\.php)(/.+)$;
  3. # Check that the PHP script exists before passing it
  4. try_files $fastcgi_script_name =404;
  5. # Bypass the fact that try_files resets $fastcgi_path_info
  6. # see: http://trac.nginx.org/nginx/ticket/321
  7. set $path_info $fastcgi_path_info;
  8. fastcgi_param PATH_INFO $path_info;
  9. fastcgi_index index.php;
  10. include fastcgi.conf;