Skip to content

Instantly share code, notes, and snippets.

@dellis23
Last active August 29, 2015 14:15
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save dellis23/56933e69a1c2d4f43d02 to your computer and use it in GitHub Desktop.
Testing...
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