Nginx change of Default port and make Application agnostic about it. #2749

Closed
opened 2026-02-21 17:49:33 -05:00 by yindo · 0 comments
Owner

Originally created by @zzecool on GitHub (Apr 28, 2024).

Self Checks

  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • Pleas do not modify this template :) and fill in all the required fields.

1. Is this request related to a challenge you're experiencing?

If on a local docker deployment you change the port that that you expose Nginx
The application is not agnostic about the change and still point you to the 80 port

2. Describe the feature you'd like to see

Exposing a different port or even Exposing and Listening an a different port using an environmental variable should make the application agnostic about the change.

3. How will this feature improve your workflow or experience?

We are not always have a dedicated machine to run the application so this will do deployment a joy.

4. Additional context or comments

This also have been noticed in a discord post by others:

https://discord.com/channels/1082486657678311454/1232338859237445642

5. Can you help us with this feature?

  • I am interested in contributing to this feature.
Originally created by @zzecool on GitHub (Apr 28, 2024). ### Self Checks - [X] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. - [X] I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - [X] Pleas do not modify this template :) and fill in all the required fields. ### 1. Is this request related to a challenge you're experiencing? If on a local docker deployment you change the port that that you expose Nginx The application is not agnostic about the change and still point you to the 80 port ### 2. Describe the feature you'd like to see Exposing a different port or even Exposing and Listening an a different port using an environmental variable should make the application agnostic about the change. ### 3. How will this feature improve your workflow or experience? We are not always have a dedicated machine to run the application so this will do deployment a joy. ### 4. Additional context or comments This also have been noticed in a discord post by others: https://discord.com/channels/1082486657678311454/1232338859237445642 ### 5. Can you help us with this feature? - [ ] I am interested in contributing to this feature.
yindo added the 💪 enhancement label 2026-02-21 17:49:33 -05:00
yindo closed this issue 2026-02-21 17:49:33 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#2749