我在aws ec2实例中托管了我的django网站
具有低于IP并指向低于域
nginx文件
[Unit]
Description=gunicorn daemon
After=network.target
[Service]
User=ubuntu
Group=www-data
WorkingDirectory=/home/ubuntu/myproject
ExecStart=/home/ubuntu/myproject/env/bin/gunicorn --access-logfile - --workers 3 --bind unix:/home/ubuntu/myproject/myproject.sock myproject.wsgi:application
[Install]
WantedBy=multi-user.target
18.221.162.213
http://govtcarrier.in/
当我在我的浏览器中转到18.221.162.213时,它将出现在我的网站上
但是当我要去的时候
http://govtcarrier.in/
它正在显示nginx欢迎页面。
请检查下面的截图