更新时间:2023-02-20 19:21:31
我还必须将端口添加到nginx配置中.将X-Forwarded-Host设置为$ host还不够,还必须添加 $ proxy_port
I had to add the port also to the nginx configuration. Setting the X-Forwarded-Host to $host was not enough also had to add the $proxy_port as well
代理的工作配置
proxy_set_header X-Forwarded-Host $host:$proxy_port;