Skip to content

Instantly share code, notes, and snippets.

@leandromoreira

leandromoreira/lbnginx.conf Secret

Last active Jan 26, 2019
Embed
What would you like to do?
events {
worker_connections 1024;
}
error_log stderr;
http {
upstream app {
server nginx1:8080;
server nginx2:8080;
}
server {
listen 8080;
location /api0 {
proxy_pass http://app;
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.