Skip to content
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

How do you set another port? #36

Open
slavafomin opened this issue Feb 1, 2021 · 1 comment
Open

How do you set another port? #36

slavafomin opened this issue Feb 1, 2021 · 1 comment

Comments

@slavafomin
Copy link

Hello!

Thank you for this demo container!

However, I can't figure out how to change port from 80 to e.g. 8080. I've tried to set *_HOSTNAME variables without any luck. Actually, it's kinda strange that you are recommending to bind to a port 80 on the host machine, because it's considered a bad practice, especially since this is a protected port and can't be used by a normal user (without a sudo).

Is there a way to change the port number?

Thanks!

@coudot
Copy link
Member

coudot commented Feb 1, 2021

You can bind directly on fastcgi port if you want, but it's true that main port cannot be set when running the image. We should add this option.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants