[uwsgi]
socket=myip:8000
chdir=home/sscc/sscc2019
wsgi-file=sscc2019/wsgi.py
processes=4
threads=2
master=True
pidfile=uwsgi.pid
daemonize=uswgi.log
module=sscc2019.wsgi:application
nginx.conf:
server{
listen 80 default_server;
listen myip:80 default_server;
charset utf-8;
server_name sscc;
location / {
include uwsgi_params;
uwsgi_pass myip:8000;
}
location /static {
alias /var/www/sscc2019/static;
}
}
请问我这是配置的有问题吗,在浏览器输入外网ip之后,提示拒绝了连接请求
$ curl 127.0.0.1:80