Created
March 21, 2012 01:51
-
-
Save daneko/2143576 to your computer and use it in GitHub Desktop.
/etc/nginx/conf.d/* メモ
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
| # /etc/nginx/conf.d/jenkins.conf サンプル | |
| server { | |
| listen 80; | |
| server_name jenkins.3a3k.info; | |
| access_log /var/log/nginx/jenkins.access.log; | |
| # document root | |
| location / { | |
| proxy_pass http://localhost:8080; | |
| } | |
| } |
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 sphinx.3a3k.info; | |
| access_log /var/log/nginx/sphinx.access.log; | |
| location / { | |
| root /var/www/sphinx/build/html; | |
| index index.html; | |
| } | |
| } |
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 default; | |
| server_name www.3a3k.info; | |
| access_log /var/log/nginx/localhost.access.log; | |
| location / { | |
| root /var/www/default; | |
| index index.html index.htm; | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment