Skip to content

Instantly share code, notes, and snippets.

@rolandboon
Created August 21, 2013 13:21
Show Gist options
  • Save rolandboon/6294381 to your computer and use it in GitHub Desktop.
Save rolandboon/6294381 to your computer and use it in GitHub Desktop.
nginx-tweetactivity-proxy.conf
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