NginxProxyManager / nginx-proxy-manager

Docker container for managing Nginx proxy hosts with a simple, powerful interface
https://nginxproxymanager.com
MIT License
23.37k stars 2.71k forks source link

SSL web admin support #4089

Open dlozanovic opened 1 month ago

dlozanovic commented 1 month ago

Could you add SSL web admin support on a new specific port?

Describe the solution you'd like I want to use a URL like this HTTPS://:444 to access my web admin portal. If I'm trying to connect by IP address or there are no valid certificates, then Nginx should provide a self-signed certificate.

Describe alternatives you've considered ssh -L 8181:localhost:81 user@

Arkasha-P commented 1 month ago

https://github.com/NginxProxyManager/nginx-proxy-manager/issues/3649

leroy0211 commented 2 weeks ago

You can setup a host for the admin an proxy to it. You don't need the additional port.

For example if you want your admin to be on 'manager.example.com` with ssl enabled.

Create a proxy with manager.example.com as host, and forward it to:

protocol:  http
host:  localhost
port: 81

Setup any other settings you want, and you should be able to access the admin on your new subdomain, including a let's encrypt certificate.

You might want to consider to add an access list to that proxy, using an list of IP CIDR ranges to limit access to your management console.