我需要在lighttpd上设置代理/重写!
我有server1,它通过http 2不同的web应用程序路径提供服务:
* http://server1/path1
* http://server1/path2
Run Code Online (Sandbox Code Playgroud)
另外,我在server1前面有lighttpd服务器
我想在lighttpd上设置重写和/或代理,以便2条路径中的每条路径都可以作为不同域上的根路径:
* requests to http://server2.com/* are proxied/rewrited to http://server1/path1/*
* requests to http://server3.com/* are proxied/rewrited to http://server1/path2/*
Run Code Online (Sandbox Code Playgroud)
重要:
可能吗?