Skip to content

Instantly share code, notes, and snippets.

@knocte
Created September 25, 2012 15:37
Show Gist options
  • Save knocte/3782635 to your computer and use it in GitHub Desktop.
Save knocte/3782635 to your computer and use it in GitHub Desktop.
nginx config file example
server {
listen 80; ## listen for ipv4
location / {
root /var/www;
index index.html index.htm;
fastcgi_pass unix:/tmp/SOCK-$http_host;
include /etc/nginx/fastcgi_params;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment