Skip to content

Instantly share code, notes, and snippets.

@yllan
Created February 5, 2013 07:55

Revisions

  1. yllan created this gist Feb 5, 2013.
    11 changes: 11 additions & 0 deletions nginx.conf
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,11 @@
    location xxxx {
    proxy_pass http://localhost:9000;
    proxy_buffering off;
    proxy_cache off;
    proxy_redirect off;
    proxy_set_header Connection '';
    proxy_http_version 1.1;
    chunked_transfer_encoding off;
    proxy_set_header Host $host;
    proxy_set_header X-Real-IP $remote_addr;
    }