Skip to content

Instantly share code, notes, and snippets.

@vidluther
Created July 29, 2012 15:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vidluther/3199552 to your computer and use it in GitHub Desktop.
Save vidluther/3199552 to your computer and use it in GitHub Desktop.
nginx virtualhost config
server {
listen 80;
server_name localhost;
root /var/www/html;
index index.html index.htm index.php;
location ~ \.php$ {
include global/php.defaults;
fastcgi_pass 127.0.0.1:9000;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment