Created
August 21, 2013 13:21
-
-
Save rolandboon/6294381 to your computer and use it in GitHub Desktop.
nginx-tweetactivity-proxy.conf
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 { | |
server_name collector.example.com; | |
location / { | |
proxy_pass http://127.0.0.1:1080; | |
proxy_set_header Host $http_host; | |
proxy_http_version 1.1; | |
proxy_set_header Upgrade $http_upgrade; | |
proxy_set_header Connection $connection_upgrade; | |
} | |
} | |
server { | |
server_name evaluator.example.com; | |
location / { | |
proxy_pass http://127.0.0.1:1081; | |
proxy_set_header Host $http_host; | |
proxy_http_version 1.1; | |
proxy_set_header Upgrade $http_upgrade; | |
proxy_set_header Connection $connection_upgrade; | |
} | |
} | |
server { | |
server_name interface.example.com; | |
location / { | |
proxy_pass http://127.0.0.1:1082; | |
proxy_set_header Host $http_host; | |
proxy_http_version 1.1; | |
proxy_set_header Upgrade $http_upgrade; | |
proxy_set_header Connection $connection_upgrade; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment