How do you set another port?
slavafomin opened this issue · 1 comments
slavafomin commented
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 commented
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.