我的阿里云服務(wù)器上本來(lái)搭了一個(gè)uwsgi+django的環(huán)境,用nginx代理,但是現(xiàn)在需要再搭一個(gè)tornado,用supervisor監(jiān)控,在nginx配置里分配了一個(gè)url,django為根url,現(xiàn)在情況是tornado的url都是404 not found
貼nginx的conf:
upstream bus-server { server 127.0.0.1:8001; server 127.0.0.1:8002; server 127.0.0.1:8003; server 127.0.0.1:8004; }server { listen 80 default_server; # listen [::]:80 default_server; server_name_; root /usr/share/nginx/html;# Load configuration files for the default server block. include /etc/nginx/default.d/*.conf;location /bus { proxy_pass http://bus-server; proxy_pass_header Server; proxy_set_header Host $http_host; proxy_redirect false; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Scheme $scheme; }location /static { alias /root/aqi/static; }location / { include uwsgi_params; uwsgi_pass 127.0.0.1:9090; }error_page 404 /404.html; location = /40x.html { }error_page 500 502 503 504 /50x.html; location = /50x.html { } }
求助大神幫忙解決一下?。。「屑げ槐M!