Replies: 1 comment
-
@GavinNL the Your proxied containers have to be on the same network than |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I'm trying to set up lets encrypt on my server, but I'm running into a weird issue. I'm running the two docker containers, and they seem work correctly
I have the following shell script called
www.sh
, which basically just starts up a nginx container and mounts the$PWD/docker_data
folder to the html path. This seems to work correctly, and i can go tohttps://jelly.mydomain.com
and I dont get any issuesBut, I tried to set up the exact same call, but using a docker-compose file below. Now when i go to
https://jelly.mydomain.com
i keep getting a BAD GATEWAY ERROR.docker-compose.yml
If I then shutdown the docker-compose run and run the shell script again, everything seem to work. Am I missing something here? Why does calling the
docker run...
command seem to work but thedocker-compose
not? If Idocker exec .... /bin/bash
into the containers, and call acurl localhost
, both are serving the correct page.Beta Was this translation helpful? Give feedback.
All reactions