首页 > 其他 > 详细

AWS Nginx Started but not Serving AWS上Nginx服务器无法正常工作

时间:2018-12-16 10:14:56      阅读:166      评论:0      收藏:0      [点我收藏+]

 

After install the Nginx on AWS instance, and visit your public ip address, you might see the following:

技术分享图片

This site can‘t be reached

xxx.xxx.xx take too long to respond.

 

Try the following steps to solve:

Go to EC2 Dashboard -> NETWORK & SECURITY -> Security Groups 

Select your current group, and right click, choose Edit inbound rules:

Add two items:

HTTP - TCP - 80 - Custom - 0.0.0.0/0

HTTP - TCP - 80 - Custom - ::/0

技术分享图片

 

Then try to visit the public ip address again, hopefully it works like this:

 

技术分享图片

 

AWS Nginx Started but not Serving AWS上Nginx服务器无法正常工作

原文:https://www.cnblogs.com/grandyang/p/10125620.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!