django上开了debug=false,用nginx来处理静态资源,集成的xmpp web client[candychat]发送http-bind/请求感觉没有被nginx拦截到,一直报404,请问怎么解决?
1.nginx里的http-bind/设置 location /http-bind/ { proxy_pass
http://localhost.com:7070/http-bind/; proxy_buffering off; tcp_nodelay on; }
2.html中调用candychat的index发送http-bind请求 <frame src="/static/candy/example/index.html">[其中static是静态资源目录]
3.candychat发送的http-bind请求 Candy.init('http-bind/', { core: { debug: false,autojoin:['
[email protected]']}, view: { resources: '../res/',language:'en' } });