Skip to content

Instantly share code, notes, and snippets.

@nitrix
Created September 14, 2013 16:03
Show Gist options
  • Select an option

  • Save nitrix/6563165 to your computer and use it in GitHub Desktop.

Select an option

Save nitrix/6563165 to your computer and use it in GitHub Desktop.
upstream backend {
server localhost:8001;
}
server {
listen 80;
server_name alexbelanger.com;
charset utf-8;
error_page 404 /404.html;
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/share/nginx/html;
}
location / {
proxy_pass http://backend;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment