Erreur32 / nginx-proxy-manager-Bash-API

This BASH script enables the management of Nginx Proxy Manager through its API.
MIT License
22 stars 3 forks source link

Disable function not working correctly. #3

Open sevzap14 opened 4 months ago

sevzap14 commented 4 months ago

Disable funсtion not working correctly. image

Command works, but not the way it should. Indeed, in the web interface the host is displayed as disabled. In fact, it does not turn off. I can still access it using the domain name. image Moreover, if you turn it off in the web interface (as it should be), everything works fine

sevzap14 commented 4 months ago

I'm using a fresh NPM install and manually everything works. Please, fix API. Thank You!

Erreur32 commented 3 months ago

@sevzap14

Ok I have fixed the issue, with activate and disable now it is working properly, at least the web page is not accessible.

Thanks for pointing that.

 ./nginx_proxy_manager_cli.sh --host-disable 1

 ❌ Disabling 🌐 proxy host ID: 1...
 ✅ Proxy host disabled successfully!

Now it's really DISABLED !

Let me know.

last version