Created
June 14, 2012 20:55
-
-
Save ashwoods/2932905 to your computer and use it in GitHub Desktop.
nginx configuration
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 *; | |
server_name bribespot.org; | |
access_log /var/log/nginx/bribespot.access.log; | |
location / { | |
proxy_pass http://bribespot_app; | |
proxy_read_timeout 120; | |
} | |
location /media/ { | |
alias /opt/bribespot/bribespotweb/bribespotweb/media/; | |
} | |
location /static/ { | |
alias /opt/bribespot/bribespotweb/bribespotweb/static/; | |
} | |
} |
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
upstream bribespot_app { | |
server localhost:9000; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment