-
-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] NGINX_PORT Variable doesn't work #66
Comments
Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid. |
The variable is only used on first run, the file is then written to /config for persistent storage |
Ah that makes sense, I will close out this issue then. Didn't realize it was doing that. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is there an existing issue for this?
Current Behavior
When setting the NGINX_PORT environment variable, it does not change. It still uses port 80 and the variable doesn't do anything.
Expected Behavior
When changing the NGINX_PORT environment variable, I expect the internal server to begin listening on the specified port. However, it only continues to listen to port 80 as seen in the logs and in ability for me to connect to the new port.
Steps To Reproduce
Using docker compose provided below, pass the NGINX_PORT variable as an environment variable. Check the logs and you'll see it defaults to listening to 127.0.0.1:80 no matter what you change it to.
Environment
CPU architecture
x86-64
Docker creation
Container logs
The text was updated successfully, but these errors were encountered: