Py学习  »  NGINX

无法从我的amazon实例访问nginx

MrMins • 4 年前 • 206 次点击  

我有这个配置 EC2 instance enter image description here

以及 status 我的 Nginx

# sudo systemctl status  nginx
● nginx.service - A high performance web server and a reverse proxy server
   Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled)
   Active: active (running) since Sat 2018-11-03 00:45:01 UTC; 2min 33s ago
  Process: 1612 ExecStop=/sbin/start-stop-daemon --quiet --stop --retry QUIT/5 --pidfile /run/nginx.pid (code=exited, status=0/SUCCESS)
  Process: 1622 ExecStart=/usr/sbin/nginx -g daemon on; master_process on; (code=exited, status=0/SUCCESS)
  Process: 1618 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=0/SUCCESS)
 Main PID: 1625 (nginx)
    Tasks: 2
   Memory: 1.9M
      CPU: 17ms
   CGroup: /system.slice/nginx.service
           ├─1625 nginx: master process /usr/sbin/nginx -g daemon on; master_process on
           └─1626 nginx: worker process       

但是,每次我尝试使用 IP 我得到了 TimeOut 但是,如果我试图在同一个服务器内部到达它,页面就存在。

整个配置,a Node.js 服务器正在运行 Nginx公司 .在一个 Amazon EC2 instance 是的。 今天,我们更新了证书,现在无法访问该站点。

有人知道怎么解决吗?

Python社区是高质量的Python/Django开发社区
本文地址:http://www.python88.com/topic/47715
 
206 次点击