【发布时间】:2013-03-18 15:26:03
【问题描述】:
错误是not found,Nginx没有错误,我检查了/var/log/nginx/error.log文件,它是空的。那么错误来自哪里??
名为app.py的python文件,可以解释,app.py的内容与http://webpy.org/cookbook/fastcgi-nginx相同,Nginx配置文件default位于/etc/nginx/sites-available/,我只是在其中添加了一些东西:
location / {
#below is what I added
include /etc/nginx/fastcgi_params;
fastcgi_pass 127.0.0.1:8080
}
有没有人知道app不能路由的原因??
【问题讨论】: