server{listen80;server_namefoo.bar.com;access_log/www/logs/access.log;error_log/www/logs/error.log;#charsetkoi8-r;#access_loglogs/host.access.logmain;location/{includeuwsgi_params;uwsgi_pass127.0.0.1:8077;}error_page404/404.html;#redirectservererrorpagestothestaticpage/50x.html#error_page500502503504/50x.html;location=/50x.html{roothtml;}location/static/{alias/www/app/my_site/static/;indexindex.htmlindex.htm;}location/media/{alias/www/app/media/;}}以上是配置文件,如果把80改完8001,则可以访问。或者不修改80,而是直接通过ip访问,也可以访问。单单是域名:80这组合不能访问。没有error信息。可能是什么原因呢?
添加回答
举报
0/150
提交
取消