nginx-proxy-manager icon indicating copy to clipboard operation
nginx-proxy-manager copied to clipboard

Nginx Proxy Manager Load Balancing...

Open zerajim opened this issue 2 years ago • 8 comments

Good day..

i am new using the NPM, how can i config the load balancing here in NPM is it in the advance tab? or custom location?

and how can i achieve this??? is there any sample file so i can follow thru?

Hoping you can help me implement the load balancing in NPM

*Note: i ask ChatGPT for this then the response that in the NPM there's a upstream tab or section but i didn't see that in NPM.. hehehehehhe

Thanks a lot guys

zerajim avatar Apr 19 '23 04:04 zerajim

afaik this feature does not exist in NPM yet. might get added soon though I hope.

check out: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/1963 and: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/156

nathen418 avatar May 10 '23 00:05 nathen418

Hi Guys, I know there is another way to achieve load balancing, First you need to create a custom directory under the data/nginx directory corresponding to the server where you deploy npm, and then create a file named http.conf in the custom directory , the content of the file is upstream your_server { server ... } Then go back to your npm background, select the corresponding Proxy Host And finally select the Advanced option, fill in the location configuration, such as loaction /api { proxy_pass http://your_server } OK, like this npm achieves the effect of load balancing

alex14dark avatar May 10 '23 08:05 alex14dark

true true you can always edit the nginx config and host files, but my point is there is no way to do it through the web interface. but yea this is totally a valid solution.

nathen418 avatar May 11 '23 03:05 nathen418

Think a discussion has been brought up here -> https://github.com/NginxProxyManager/nginx-proxy-manager/issues/2917

JS-E avatar Nov 04 '23 20:11 JS-E

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

github-actions[bot] avatar Jun 06 '24 01:06 github-actions[bot]

Waiting for this feature to get implemented.

sreekanthedayar avatar Jun 16 '24 15:06 sreekanthedayar

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

github-actions[bot] avatar Mar 08 '25 01:03 github-actions[bot]

Try it: nginx-love It's ready for load balancing and more.

aminotran avatar Oct 22 '25 21:10 aminotran