[GH-ISSUE #139] SSL on admin web page #122

Closed
opened 2026-02-26 06:30:23 +03:00 by kerem · 6 comments
Owner

Originally created by @dbrosy on GitHub (May 10, 2019).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/139

This is not an issue more a how do I do this.

is it possible to secure the admin page on nginx proxy server. I have port 81 working fine but have a SAN cert which I want to use to access admin page and ideally port 443 but I guess that is already in use.

Originally created by @dbrosy on GitHub (May 10, 2019). Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/139 This is not an issue more a how do I do this. is it possible to secure the admin page on nginx proxy server. I have port 81 working fine but have a SAN cert which I want to use to access admin page and ideally port 443 but I guess that is already in use.
kerem 2026-02-26 06:30:23 +03:00
Author
Owner

@OhHeyAlan commented on GitHub (May 10, 2019):

@dbrosy setup a subdomain admin.example.com or in my case nginx.mydomain.com for your domain and port forward your domain/ip to port 81. Then you can use a custom cert to secure the subdomain.

TLS traffic will enter port :443 ----> Nginx Proxy -----> :81

Screen Shot 2019-05-10 at 12 20 09 PM Screen Shot 2019-05-10 at 12 19 22 PM

Example:

<!-- gh-comment-id:491368876 --> @OhHeyAlan commented on GitHub (May 10, 2019): @dbrosy setup a subdomain `admin.example.com` or in my case `nginx.mydomain.com` for your domain and port forward your domain/ip to port 81. Then you can use a custom cert to secure the subdomain. TLS traffic will enter port `:443` ----> `Nginx Proxy` -----> `:81` <img width="1293" alt="Screen Shot 2019-05-10 at 12 20 09 PM" src="https://user-images.githubusercontent.com/11955126/57544975-8c34e280-731e-11e9-9b6d-d95828756d28.png"> <img width="616" alt="Screen Shot 2019-05-10 at 12 19 22 PM" src="https://user-images.githubusercontent.com/11955126/57544977-8ccd7900-731e-11e9-8e3b-12d2b4338f14.png"> Example:
Author
Owner

@dbrosy commented on GitHub (May 11, 2019):

Thanks @OhHeyAlan I now have it working. I had the scheme set to https.

<!-- gh-comment-id:491465246 --> @dbrosy commented on GitHub (May 11, 2019): Thanks @OhHeyAlan I now have it working. I had the scheme set to https.
Author
Owner

@123dev commented on GitHub (Mar 19, 2021):

Then you can use a custom cert to secure the subdomain.

How do you use a custom cert, the only available option is LetsEncrypt
I don't want to publish the admin publicly and want to use company self signed certificate, how can I do that?

Thanks

<!-- gh-comment-id:803020052 --> @123dev commented on GitHub (Mar 19, 2021): > Then you can use a custom cert to secure the subdomain. How do you use a custom cert, the only available option is LetsEncrypt I don't want to publish the admin publicly and want to use company self signed certificate, how can I do that? Thanks
Author
Owner

@123dev commented on GitHub (Mar 19, 2021):

Then you can use a custom cert to secure the subdomain.

How do you use a custom cert, the only available option is LetsEncrypt
I don't want to publish the admin publicly and want to use company self signed certificate, how can I do that?

Thanks
Nevermind,

Figured it out, thanks for the instructions.

<!-- gh-comment-id:803037718 --> @123dev commented on GitHub (Mar 19, 2021): > > > > Then you can use a custom cert to secure the subdomain. > > How do you use a custom cert, the only available option is LetsEncrypt > I don't want to publish the admin publicly and want to use company self signed certificate, how can I do that? > > Thanks Nevermind, Figured it out, thanks for the instructions.
Author
Owner

@ResearchForumOnline commented on GitHub (Apr 13, 2023):

Thanks fixed.

<!-- gh-comment-id:1506508753 --> @ResearchForumOnline commented on GitHub (Apr 13, 2023): Thanks fixed.
Author
Owner

@juanmafont commented on GitHub (May 9, 2024):

@dbrosy setup a subdomain admin.example.com or in my case nginx.mydomain.com for your domain and port forward your domain/ip to port 81. Then you can use a custom cert to secure the subdomain.

TLS traffic will enter port :443 ----> Nginx Proxy -----> :81

Remenber after you has access with SSL, then you can close port 81 at docker-compose.yaml or compose.yaml at opened only to internal docker network, so you need to remove the '81:81' from 'port' section and add section 'expose' with port 81 like down

Screenshot_2024-05-09_17-53-51

<!-- gh-comment-id:2102994896 --> @juanmafont commented on GitHub (May 9, 2024): > @dbrosy setup a subdomain `admin.example.com` or in my case `nginx.mydomain.com` for your domain and port forward your domain/ip to port 81. Then you can use a custom cert to secure the subdomain. > > TLS traffic will enter port `:443` ----> `Nginx Proxy` -----> `:81` Remenber after you has access with SSL, then you can close port 81 at docker-compose.yaml or compose.yaml at opened only to internal docker network, so you need to remove the '81:81' from 'port' section and add section 'expose' with port 81 like down ![Screenshot_2024-05-09_17-53-51](https://github.com/NginxProxyManager/nginx-proxy-manager/assets/6154911/f2724c64-6327-43bb-b13b-70383c8c557b)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/nginx-proxy-manager-NginxProxyManager#122
No description provided.