How to use another (nginx) port than 80? #4902
Sarmingsteiner
started this conversation in
General
Replies: 2 comments 6 replies
-
Well I can confirm that changing this line https://github.com/langgenius/dify/blob/main/docker/docker-compose.yaml#L477 to e.g. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks @patryk20120 - so it must be some other issue. Guess it has something to do with Synology NAS and its Docker filesystem. |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am struggling with this part of the FAQ:
Unfortunately, I cannot un-bind port 80 on my system (Synology NAS). So, is there a possibility to use another port, e.g. 81?
I tried to edit the docker-compose.yaml config file (changed ports to a) 81:80 and b) 81:81 together with editing listening port to 81 in nginx default.conf).
However, only the front end loads on port 3000, and there seems to be no connection to the backend (install screen shows animation forever). Port 81 seems to be unreachable, it results after a few minutes in
504 Gateway Time-out nginx/1.27.0
Btw, all the containers are up and successfully running.
Beta Was this translation helpful? Give feedback.
All reactions