Created
November 10, 2013 17:03
-
-
Save vvo/7400860 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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