docker-nginx-http3 icon indicating copy to clipboard operation
docker-nginx-http3 copied to clipboard

Change expose line to normal ports please

Open markg85 opened this issue 2 years ago • 1 comments
trafficstars

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

markg85 avatar Apr 07 '23 20:04 markg85

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.

macbre avatar May 25 '23 17:05 macbre