Skip to content

Instantly share code, notes, and snippets.

@colthreepv
Created August 13, 2013 16:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save colthreepv/6222734 to your computer and use it in GitHub Desktop.
Save colthreepv/6222734 to your computer and use it in GitHub Desktop.
nginx sample config to use with chunked.js
server {
listen 80;
server_name *.test;
gzip on;
location / {
#proxy_set_header Host api.github.com;
proxy_pass http://localhost:1337/;
proxy_buffering off;
proxy_http_version 1.1;
}
access_log /var/log/nginx/test_access.log combined;
error_log /var/log/nginx/test_error.log error;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment