location /test{
    proxy_pass http://localhost:8765/test;
    proxy_set_header Host $http_host;
 }

其中红色的那句可以保证 post 等请求不会出现301

相关文章:

  • 2021-08-01
  • 2021-11-20
  • 2021-12-18
  • 2021-08-17
  • 2021-08-17
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-09-02
  • 2021-07-19
  • 2022-12-23
  • 2022-12-23
  • 2021-10-31
  • 2021-12-15
  • 2021-11-16
相关资源
相似解决方案