Comment on Having trouble setting up Nginx

e0qdk@reddthat.com ⁨2⁩ ⁨days⁩ ago

Nginx is running in Docker

Are you launching the container with the correct ports exposed? You generally cannot make connections into a container from the outside unless you explicitly tell Docker that you want it to allow that to happen… i.e. assuming you want a simple one-to-one mapping for HTTP and HTTPS standard ports are you passing something like -p 80:80 -p 443:443 to docker run on the command line, adding the appropriate ports in your compose file, or doing something similar with another tool for bringing the container up?

source
Sort:hotnewtop