8gears / containerized-guacamole

Apache Guacamole out of the box compose setup with Nginx Reverse Proxy, Lets Encrypt. Simple and easy deployable with Docker Compose. Uses only Official Guacamole Docker Images
Apache License 2.0
97 stars 33 forks source link

Not working with port 443 only with port 80 #1

Closed normed closed 6 years ago

normed commented 6 years ago

Hi , Maybe i am wrong and i missed something . here is my env file POSTGRES_USER=guacadb POSTGRES_PASSWORD=Mypassword

Uncomment if you want to test with dummy certificates

LETSENCRYPT_TEST=false

VIRTUAL_HOST= mydomain LETSENCRYPT_HOST=Mydomain LETSENCRYPT_EMAIL=Mymail

When i followed the process it only work with port 80 . I edited the nginx conf file and i saw that nginx is listening on port 80 not 443. I changed the port and then it worked

Vad1mo commented 6 years ago

Where did you change the port, from what to what. Can you provide some more context? Can you paste some logs?

guac itself is listening on the unsecure port 4822. NGINX is doing the TLS. So you service should only be available on TLS, as there is an HTTP to HTTPS redirection.

The setup usually works as is out of the box

normed commented 6 years ago

Hi Vadim, I stopped the containers , kill them and relaunch the two docker-compose and it works like a charm. Sorry for my mistakes . ( previously in the nginx container i did a netstat and i didn’t see that is listening on the port 443 , maybe i need a new pair of glasses :) I should have checked again and again. Sorry for the convenience. Just to say that you did a great job. regards

Le 25 janv. 2018 à 12:25, Vadim Bauer notifications@github.com a écrit :

Where did you change the port, from what to what. Can you provide some more context? Can you paste some logs?

guac itself is listening on the unsecure port 4822. NGINX is doing the TLS. So you service should only be available on TLS, as there is an HTTP to HTTPS redirection.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/8gears/containerized-guacamole/issues/1#issuecomment-360439524, or mute the thread https://github.com/notifications/unsubscribe-auth/AgVT-KAWE4fS1-BCpH4NBJtQSe4pcEHdks5tOGTGgaJpZM4RsrX0.

normed commented 6 years ago

Hi I know where was my mistake. When i launch the compose i went unto the nginx container and i had the following display

No listening on port 443 .

I restarted the nginx container and this time i had the nginx listening on port 443

Regards

Le 25 janv. 2018 à 14:28, Vadim Bauer notifications@github.com a écrit :

Closed #1 https://github.com/8gears/containerized-guacamole/issues/1.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/8gears/containerized-guacamole/issues/1#event-1441627408, or mute the thread https://github.com/notifications/unsubscribe-auth/AgVT-Ja8SG5_bdBMiasgURRwT4agRG3Pks5tOIGVgaJpZM4RsrX0.