forked from NginxProxyManager/nginx-proxy-manager
-
Notifications
You must be signed in to change notification settings - Fork 107
[feature] Multiple upstreams #2760
Copy link
Copy link
Open
Description
I set up proxies like this:
What I think NPMplus does, is create a config like this:
server {
server_name www.example.com;
# other settings...
location / {
# other settings...
proxy_pass http://myhost:8080;
}
}I want NPMplus to do this instead:
upstream www-example-com {
server myhost:8080;
}
server {
server_name www.example.com;
# other settings...
location / {
# other settings...
proxy_pass http://www-example-com;
}
}That way I can create multiple upstreams for round-robin:
And NPMplus would add them to the config like this:
upstream www-example-com {
server myhost:8080;
server myhost:8888;
}
server {
server_name www.example.com;
# other settings...
location / {
# other settings...
proxy_pass http://www-example-com;
}
}Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels