mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2026-04-25 16:55:56 +03:00
[GH-ISSUE #538] update docker examples #1623
Labels
No labels
Q/A
bug
casdoor
dependencies
docker
documentation
duplicate
enhancement
help wanted
invalid
lego
platform:openwrt
platform:windows
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/nginx-ui#1623
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 @Karlostavitch1 on GitHub (Sep 5, 2024).
Original GitHub issue: https://github.com/0xJacky/nginx-ui/issues/538
docker examples on readme and in nginx documentation reference ports 8080 and 8443 but current docker image is using 80 and 443.
small issue but harder for newbies like me to get started.
@0xJacky commented on GitHub (Sep 5, 2024):
Hi @Karlostavitch1,
Below is the command of starting nginx-ui docker, copy from our documentation:
In this example, we map the host ports (8080,8443) to the ports (80,443) of the container. Howerver, you can use another host ports you want.
You can check the documentation of Docker about how to publish ports:

https://docs.docker.com/engine/network/#published-ports
Thus, I don't think there is a problem in our documentation.
Regards,
Jacky
@Karlostavitch1 commented on GitHub (Sep 5, 2024):
my bad, I was writing a docker compose and must have had a dislexic moment and was putting them in the wrong order and couldn't fix it until I changed it to 80:80 and 443:443 not realising that I just had the order of operation reversed.