[GH-ISSUE #2415] Question about loadbalance #1694

Closed
opened 2026-02-26 07:32:04 +03:00 by kerem · 3 comments
Owner

Originally created by @scifijunk on GitHub (Nov 20, 2022).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/2415

I was wondering would if there is a way to load balance with NginxProxyManager. If there is kindly share an example.

I have been playing with the following code but I'm not sure what I am missing to make not go offline in NginxProxyManager.

upstream lbtest {
    server xxx.xxx.xxx.xxx:31060; # node1
    server xxx.xxx.xxx.xxx:31060; # node2
    server xxx.xxx.xxx.xxx:31060; # node3
}

server {
    listen       80;

    location / {
        proxy_set_header Host $host;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_buffering off;

        proxy_pass http://lbtest;
        health_check;
    }
}
Originally created by @scifijunk on GitHub (Nov 20, 2022). Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/2415 I was wondering would if there is a way to load balance with NginxProxyManager. If there is kindly share an example. I have been playing with the following code but I'm not sure what I am missing to make not go offline in NginxProxyManager. ``` upstream lbtest { server xxx.xxx.xxx.xxx:31060; # node1 server xxx.xxx.xxx.xxx:31060; # node2 server xxx.xxx.xxx.xxx:31060; # node3 } server { listen 80; location / { proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_buffering off; proxy_pass http://lbtest; health_check; } } ```
kerem 2026-02-26 07:32:04 +03:00
  • closed this issue
  • added the
    stale
    label
Author
Owner

@charleypeng commented on GitHub (Nov 30, 2022):

i think this feature is quite needed for a docker swarm like app

<!-- gh-comment-id:1331725408 --> @charleypeng commented on GitHub (Nov 30, 2022): i think this feature is quite needed for a docker swarm like app
Author
Owner

@github-actions[bot] commented on GitHub (Feb 4, 2024):

Issue is now considered stale. If you want to keep it open, please comment 👍

<!-- gh-comment-id:1925539715 --> @github-actions[bot] commented on GitHub (Feb 4, 2024): Issue is now considered stale. If you want to keep it open, please comment :+1:
Author
Owner

@github-actions[bot] commented on GitHub (Mar 21, 2025):

Issue was closed due to inactivity.

<!-- gh-comment-id:2742069672 --> @github-actions[bot] commented on GitHub (Mar 21, 2025): Issue was closed due to inactivity.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/nginx-proxy-manager-NginxProxyManager#1694
No description provided.