Last active
August 29, 2015 14:15
-
-
Save dellis23/56933e69a1c2d4f43d02 to your computer and use it in GitHub Desktop.
Testing...
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
user www-data; | |
worker_processes 4; | |
pid /run/nginx.pid; | |
events { | |
worker_connections 768; | |
# multi_accept on; | |
} | |
http { | |
upstream primes { | |
{{range service "web"}} | |
server {{.Address}}:5000;{{end}} | |
} | |
server { | |
listen 80; | |
location / { | |
proxy_pass http://primes; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment