Created
December 25, 2012 09:57
-
-
Save vladtsf/4372487 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 gadgets-house.net www.gadgets-house.net; | |
| location / { | |
| proxy_pass http://127.0.0.1:3000; | |
| } | |
| location /assets/ { | |
| root /home/deploy/gadgets-house/current; | |
| expires 1y; | |
| try_files /static/$uri /vendor/$uri =404; | |
| add_header Cache-Control private; | |
| } | |
| location /favicon.ico { | |
| root /home/deploy/gadgets-house/current/static/assets/images/; | |
| expires 1y; | |
| add_header Cache-Control private; | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment