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.

Revisions

  1. @mattd mattd revised this gist Sep 15, 2011. 1 changed file with 0 additions and 13 deletions.
    13 changes: 0 additions & 13 deletions gistfile2.txt
    Original file line number Diff line number Diff line change
    @@ -1,13 +0,0 @@
    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;
    }
    }
  2. @mattd mattd revised this gist Sep 15, 2011. 1 changed file with 13 additions and 0 deletions.
    13 changes: 13 additions & 0 deletions gistfile2.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,13 @@
    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;
    }
    }
  3. @mattd mattd created this gist Jun 3, 2011.
    13 changes: 13 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,13 @@
    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;
    }
    }