mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-04-25 17:35:52 +03:00
[GH-ISSUE #481] Admin panel served at port 81 with no SSL at all? #406
Labels
No labels
awaiting feedback
bug
cannot reproduce
dns provider request
duplicate
enhancement
enhancement
enhancement
good first issue
help wanted
invalid
need more info
no certbot plugin available
product-support
pull-request
question
stale
troll
upstream issue
v2
v2
v2
v3
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/nginx-proxy-manager-NginxProxyManager#406
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @hartwork on GitHub (Jun 27, 2020).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/481
Hi!
The docs seem to suggest serving the admin panel with no SSL on port 81 and there is no mention of a threat model or security consequences. That seems like a troublesome choice for security, not just for people hosting at home. I have just seen a publicly accessible setup that has the log-in form send username and password unencrypted through the internet. Am I missing something?
Thanks and best, Sebastian
@jc21 commented on GitHub (Jun 27, 2020):
The point of this project is to allow you to create your own SSL encrypted domains for any services, including NPM. So yes you can create your own
npm.yourdomain.compointing to NPM with hostname127.0.0.1and port81. Then if you really want your home-only network to be 120% secure, modify the docker-compose file and remove port 81 from the ports list.@hartwork commented on GitHub (Jun 28, 2020):
Is it possible to serve the admin panel through SSL and is there documentation on that?
(Readme says "Beautiful and Secure Admin Interface".)
@bradyemerson commented on GitHub (Jul 23, 2020):
Based on the configuration options present today, no. You can modify this file https://github.com/jc21/nginx-proxy-manager/blob/master/docker/rootfs/etc/nginx/conf.d/production.conf and create your own docker image with SSL enabled. You'll also need to modify the curl health check to use https and ignore certificate errors.
It is common practice when using Docker reverse proxies that the SSL offloading is done at the nginx layer. In almost all cases that I have seen, the internal communication between docker containers is done via plain transmission so that certificates don't have to be managed individually within each application.
As the maintainer said, the purpose of this application is to create reverse proxies with SSL support. So it makes sense to leverage npm to create an admin reverse proxy for port 81 rather than creating a separate set of configuration options. This way the configuration and SSL management is done in the same interface and with the same patterns as all of your other vhosts.
@Sprbb commented on GitHub (Jul 30, 2020):
How do I create a docker image with SSL enabled ?
@bradyemerson commented on GitHub (Jul 30, 2020):
I'm not clear on the question. This tool only manages vhosts, not the underlying docker applications. If you're asking how to create a vhost with SSL, it's on the SSL tab in the editor.
@chaptergy commented on GitHub (May 12, 2021):
Closing as a duplicate of https://github.com/jc21/nginx-proxy-manager/issues/182