mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-04-25 17:35:52 +03:00
[GH-ISSUE #55] Changing Listening Ports #52
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#52
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 @jonny190 on GitHub (Jan 19, 2019).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/55
Is there a way to change the listening ports from 8080 and 4443 to 80 and 443?
@jc21 commented on GitHub (Jan 20, 2019):
Those ports are up you and your docker configuration. Furthermore, 8080 and 4443 are not the default ports provided in this app or the examples.
@jonny190 commented on GitHub (Jan 20, 2019):
I'm using a macvlan so I can't change ports. Only reason I know if those
ports is from reading the config files
On Sun, 20 Jan 2019, 10:22 pm jc21 <notifications@github.com wrote:
@jc21 commented on GitHub (Jan 20, 2019):
If you're referring to this config file, that's only a development file and not to be used for production. The installation instructions specify the ports 80/443 in all examples. But still, you should still be in control of your docker execution. I don't understand that you can't change the ports, I don't use macvlan but if the docker image exposes 80/81/443 and if your docker runs without specifying any ports, they are the ports that will be used.
I feel that this problem you're having relates to any docker container and is not specific to this project.
@jonny190 commented on GitHub (Feb 16, 2019):
sorry for the delay in getting back to you. the docker composer file on hub.docker.com shows:
# Change the HTTPs port 443 to the unprivileged port 4443. sed-patch 's|listen 443 |listen 4443 |' /etc/nginx/conf.d/default.conf && \ sed-patch 's|listen 443 |listen 4443 |' /opt/nginx-proxy-manager/src/backend/templates/_listen.conf && \and:
`
Expose ports.
- 8080: HTTP traffic
- 4443: HTTPs traffic
- 8181: Management web interface
EXPOSE 8080 4443 8181
`
can these not be configured to listen on the native 80 and 443?
@Matt-CyberGuy commented on GitHub (Apr 10, 2021):
I have the same question
@pwrsoft commented on GitHub (Oct 29, 2023):
Try to use this docker-compose.yml config file:
version: '3.8'
services:
app:
image: 'jc21/nginx-proxy-manager:latest'
restart: unless-stopped
ports:
- '8080:80'
- '8181:81'
- '4443:443'
volumes:
- ./data:/data
- ./letsencrypt:/etc/letsencrypt