Skip to content

Instantly share code, notes, and snippets.

@vvo
Created November 10, 2013 17:03
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vvo/7400860 to your computer and use it in GitHub Desktop.
Save vvo/7400860 to your computer and use it in GitHub Desktop.
server {
listen 80;
server_name myblog.com;
client_max_body_size 10M;
location ~* \.(jpg|jpeg|png|gif|ico|css|js|eot|woff)$ {
expires 10y;
proxy_pass http://localhost:2368;
}
location / {
proxy_pass http://localhost:2368/;
proxy_buffering off;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment