转:https://blog.csdn.net/u014433030/article/details/77507839

 

如果我们的nginx配置了反向代理,如下:

 

1 location ^~ /wyq/ {
2             proxy_pass    https://127.0.0.1:$wyq_port;
3             proxy_redirect https://127.0.0.1:$wyq_port/ /;
4             #proxy_redirect off;
5             proxy_set_header Host $host;
6             proxy_set_header X-Real-IP $remote_addr;
7             proxy_set_header X-Forwarded-Proto https;
View Code

相关文章:

  • 2021-09-27
  • 2022-12-23
  • 2021-10-19
  • 2022-01-12
  • 2022-12-23
  • 2022-12-23
  • 2022-02-05
猜你喜欢
  • 2022-12-23
  • 2021-05-28
  • 1970-01-01
  • 2021-12-17
  • 2021-10-04
  • 2022-02-22
  • 2021-07-31
相关资源
相似解决方案