Solve Issue: http works, but https time out

When use nginx to configure https with ssl 443 port, it might be timed out, but your http 80 port work correctly. At this time, if you nginx configured and started correctly (use nginx -t to check log), another possible reason is that your server didn't open the 443 port. For most of the server, port 443 is will not be opened by default, only port 22 and 80 are opened. So you need to open it by yourself, for example, if you deploy it on AWS, you need to add the rule for security group to open 443 port.

posted @ 2021-04-20 16:15  Grandyang  阅读(96)  评论(0编辑  收藏  举报
Fork me on GitHub