Created
September 26, 2011 19:46
-
-
Save GirlBossRush/1243206 to your computer and use it in GitHub Desktop.
nginx conf
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 nirri.us www.nirri.us nirrius.com www.nirrius.com; | |
access_log <%= node[:nginx][:log_dir] %>/localhost.access.log; | |
location / { | |
proxy_pass http://127.0.0.1:3000/; | |
proxy_redirect default; | |
} | |
location /init/ { | |
alias /home/www-server/init/; | |
} | |
location /resources/ { | |
alias /home/www-server/redacted/site/public/resources/; | |
} | |
} | |
## | |
# Virtual Host Configs | |
## | |
include /etc/nginx/conf.d/*.conf; | |
#include /etc/nginx/sites-enabled/*; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment