我反向代理一个博客。 它在Apache下的子域blog.example.com上托pipe。 在Nginx中,我在服务器块中有以下configuration。
除了WPpipe理面板的cookie外,其他的工作都没有通过,所以我无法login。
我应该添加什么?
location /blog/ { proxy_set_header X-Original-Host $host; proxy_set_header X-Is-Reverse-Proxy "true"; proxy_pass_header Set-Cookie; proxy_cookie_path / /blog/; proxy_pass http://blog.example.com/; }
谢谢!