location / {
proxy_set_header Host 172.18.0.242:90;
proxy_pass http://172.18.0.246;

}

 

proxy_set_header Host xxxxxx;

主要是改变头部就行了。

找这个找了很久。

 

相关文章:

  • 2021-09-08
  • 2021-12-14
  • 2022-12-23
  • 2019-11-23
  • 2021-11-15
  • 2022-01-30
  • 2022-12-23
猜你喜欢
  • 2019-12-06
  • 2022-12-23
  • 2022-01-01
  • 2022-12-23
  • 2022-12-23
  • 2021-10-18
  • 2022-12-23
相关资源
相似解决方案