Skip to content

Instantly share code, notes, and snippets.

@spolu
Created November 21, 2011 08:57
Show Gist options
  • Save spolu/1382086 to your computer and use it in GitHub Desktop.
Save spolu/1382086 to your computer and use it in GitHub Desktop.
Nginx configuration for nginx
server {
listen 80;
[...]
location ~ \.php$ {
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
include fastcgi_params;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment