Created
November 8, 2012 16:00
-
-
Save henvic/4039716 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; | |
client_max_body_size 800M; | |
# server_name foo.bar.no foo.bar.yes foo.bar.ok; | |
access_log /var/log/nginx/access.log; | |
location / { | |
proxy_pass http://127.0.0.1:81/; | |
include /etc/nginx/proxy.conf; | |
} | |
} | |
server { | |
listen 80; | |
client_max_body_size 800M; | |
server_name test.test.example.com; | |
location / { | |
proxy_pass http://127.0.0.1:8000/; | |
include /etc/nginx/proxy.conf; | |
} | |
} | |
server { | |
listen 80; | |
server_name www.thinkings.info; | |
rewrite ^/(.*) http://thinkings.info/$1 permanent; | |
} | |
server { | |
listen 80; | |
server_name americonunes.com.br www.americonunes.com.br; | |
rewrite ^/(.*) http://www.flickr.com/photos/americonunes/$1 permanent; | |
} | |
server { | |
listen 80; | |
server_name thinkings.info; | |
access_log /var/log/nginx/thinkings.info.access.log; | |
location / { | |
proxy_pass http://thinkings.info.s3-website-us-east-1.amazonaws.com; | |
include /etc/nginx/proxy.conf; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment