修改 nginx 配置 反向代理在xxx.xxx.xxx/的vhost 中添加location ~ ^/book/(.*)$ { proxy_hide_header X-Current-Location; add_header X-Current-Location $request_uri; proxy_pass http://127.0.0.1:4000/$1; }
修改 nginx 配置 反向代理
在xxx.xxx.xxx/的vhost 中添加
location ~ ^/book/(.*)$ {