Skip to content

Instantly share code, notes, and snippets.

@seyyah
Created July 15, 2010 14:25
Show Gist options
  • Select an option

  • Save seyyah/477002 to your computer and use it in GitHub Desktop.

Select an option

Save seyyah/477002 to your computer and use it in GitHub Desktop.
server {
listen 80;
server_name localhost;
index index.php index.html index.htm;
root /var/www;
location ~ \.php$ {
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $request_filename;
include fastcgi_params;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment