malqch
Results
1
comments of
malqch
把nginx配置文件中的server_name改成127.0.0.1;location / 里的proxy_pass改成http://127.0.0.1:8000;就可以了。然后gunicorn启动命令 nohup gunicorn -w 3 -b 127.0.0.1:8000 bookstore.wsgi:application &,浏览器输入127.0.0.1就可以访问了。