docker-nginx-http3
docker-nginx-http3 copied to clipboard
Change expose line to normal ports please
Hi,
The current dockerfile has:
EXPOSE 8080 8443
This makes it super annoying to get the image working properly. Please just change it to a normal port 80 and 443.
I just spend a couple hours debugging this because i kept getting connection refused while my ports were set properly. Didn't try it but i probably should have used your "8080" and "8443" in the conf files as well to make it all work.
Just change it, please.
Cheers, Mark
Didn't try it but i probably should have used your "8080" and "8443" in the conf files as well to make it all work.
The EXPOSE statement in the Dockerfile just gives a hint about the exposed ports. It does not enforce anything. Ports above 1024 are used in this image to be able to run the nginx process as a non-root process. I'll try to make that clear in the README file.