Created
August 5, 2015 02:08
-
-
Save pangkalizer/fe668baa37377a740f40 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
upstream supatest { | |
server 192.168.35.110:80; | |
} | |
upstream jenkins { | |
server 192.168.35.110:8001; | |
} | |
upstream selenium_hub { | |
server 192.168.35.110:4444; | |
} | |
upstream selenium_grid_extra_dash { | |
server 192.168.35.110:3000; | |
} | |
server { | |
listen 80; | |
server_name supa.local; | |
location / { | |
proxy_set_header Host $host; | |
proxy_pass http://supatest; | |
} | |
} | |
server { | |
listen 8001; | |
server_name hostname; | |
location / { | |
proxy_set_header Host $host; | |
proxy_pass http://jenkins; | |
} | |
} | |
server { | |
listen 4444; | |
server_name hostname; | |
location / { | |
proxy_set_header Host $host; | |
proxy_pass http://selenium_hub; | |
} | |
} | |
server { | |
listen 3000; | |
server_name hostname; | |
location / { | |
proxy_set_header Host $host; | |
proxy_pass http://selenium_grid_extra_dash; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment