0

I have followed this tutorial for deploying docker containers on AWS EC2 instance:

https://www.digitalocean.com/community/tutorials/how-to-secure-a-containerized-node-js-application-with-nginx-let-s-encrypt-and-docker-compose

and after reaching step 5 (where nginx is configured for HTTPS), the application just stops working. Here's my application: www.alphadevop.co

Here’s my nginx configuration: https://github.com/cyrilcabo/alphadevelopment/blob/master/nginx-conf/nginx.conf

And here’s my docker-compose.yml: https://github.com/cyrilcabo/alphadevelopment/blob/master/docker-compose.yml

[Here's the webserver logs][1] [1]: https://i.sstatic.net/oawtD.png

2
  • Please share docker logs of your webserver container. Commented Aug 15, 2020 at 17:22
  • @KapilKhandelwal i have already attached it. Commented Aug 16, 2020 at 2:55

1 Answer 1

0

Silly mistake, port 443 wasn't allowed on my application. I was confused because when i checked on my server, port 443 was open. Then I checked here, https://www.yougetsignal.com/tools/open-ports/ , saying it was closed. I then found out that there's an inbound rule for AWS EC2 instance top allow port 443.

Credits here: NGINX SSL Timeout

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.