Created
April 14, 2011 22:39
-
-
Save r38y/920744 to your computer and use it in GitHub Desktop.
nginx vhosts for proxying requests from facebook to my local machine.
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 3838; | |
server_name r38y.publicdomain.com; | |
location / { | |
proxy_pass http://web1.tunnlr.com:publicport/; | |
proxy_redirect off; | |
} | |
} | |
server { | |
listen 3839; | |
server_name r38y.publicdomain.com; | |
ssl on; | |
ssl_certificate /etc/nginx/ssl/mallarkey.crt; | |
ssl_certificate_key /etc/nginx/ssl/mallarkey.key; | |
location / { | |
proxy_pass http://web1.tunnlr.com:publicport/; | |
proxy_redirect off; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment