Groups
Groups
Sign in
Groups
Groups
Lua框架&应用交流
Conversations
About
Send feedback
Help
[orange]多层代理情况下, 静态资源css,js无法正常访问
4 views
Skip to first unread message
soul11201
unread,
Jun 2, 2017, 4:00:27 AM
6/2/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Lua框架&应用交流
前面有一层nginx代理 会把 uri: proxy/orange/9999 开头的请求,
如:
http://ip1/proxy/orange/9999
利用upstream 代理到 orange的 http:://ip2:9999/ 。
但是 静态资源orange js 的加载请求到了
http://ip1/static/js/orange.js
--
-----
http://blog.soul11201.com
soul11201
unread,
Jun 2, 2017, 4:01:48 AM
6/2/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Lua框架&应用交流
nginx upstream 层内部做了 uri rewrite。
--
-----
http://blog.soul11201.com
Reply all
Reply to author
Forward
0 new messages