1
honk 2012-08-08 14:01:53 +08:00 1
不用rewrite吧
<code> location / { proxy_pass http://123.yyy.com/example/; proxy_redirect off; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; } </code> |
2
iiduce OP |
3
honk 2012-08-08 21:57:50 +08:00
|
4
iiduce OP |
5
jiangle 2012-08-08 23:50:40 +08:00
楼主说的是用nginx做反向代理吧?
|
6
citydog 2012-08-09 09:15:35 +08:00
我是来看LZ头像的...
|