Skip to content

Instantly share code, notes, and snippets.

@jdorfman
Created March 1, 2012 00:20
Show Gist options
  • Save jdorfman/1946026 to your computer and use it in GitHub Desktop.
Save jdorfman/1946026 to your computer and use it in GitHub Desktop.
# if the request starts with our frontcontroller, pass it on to fastcgi
location ~ ^/index.php
{
fastcgi_pass 127.0.0.1:9000;
fastcgi_param SCRIPT_FILENAME /var/www/default/pub$fastcgi_script_name;
fastcgi_param PATH_INFO $fastcgi_script_name;
include /usr/local/nginx/conf/fastcgi_params;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment