Open zerajim opened 1 year ago
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
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
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.
Think a discussion has been brought up here -> https://github.com/NginxProxyManager/nginx-proxy-manager/issues/2917
Issue is now considered stale. If you want to keep it open, please comment :+1:
Waiting for this feature to get implemented.
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