Skip to content

Instantly share code, notes, and snippets.

@ryankirkman
Forked from mattd/gist:1006398
Last active August 29, 2015 14:21
Show Gist options
  • Save ryankirkman/d7dcbc3c913d71bebf65 to your computer and use it in GitHub Desktop.
Save ryankirkman/d7dcbc3c913d71bebf65 to your computer and use it in GitHub Desktop.
server {
root /var/www/example.com/static;
server_name example.com;
access_log /var/log/nginx/example.com.access.log;
error_log /var/log/nginx/example.com.error.log;
try_files /maintenance.html @proxy;
location @proxy {
proxy_pass http://127.0.0.1:10001;
include /etc/nginx/proxy.conf;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment