码迷,mamicode.com
首页 > 其他好文 > 详细

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

时间:2018-12-16 11:16:07      阅读:123      评论:0      收藏:0      [点我收藏+]

标签:nginx   bubuko   eps   src   The   str   network   服务   res   

 

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服务器无法正常工作

标签:nginx   bubuko   eps   src   The   str   network   服务   res   

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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!