Enabling Nginx Proxy host through a switch in HA

Hi, i’ve got NPM running (outside of HA), and would like to be able to enable and disable proxy hosts through HA. is there a method? thanks.

You could probably use a RESTful switch and hit the NPM API endpoints.

There are enable and disable methods available: nginx-proxy-manager/backend/schema/endpoints/proxy-hosts.json at 02aefa50cd0a81fca6baf0b93b66ee4665282b35 · NginxProxyManager/nginx-proxy-manager · GitHub

I don’t use NPM, so I won’t be much help there, but this should at least get you started.

1 Like

Thanks - will look in to it

1 Like