只需一步,快速开始
xshell 发表于 2020-12-19 21:10 每一个页面都这样弄一下?
举报
liuyangge 发表于 2020-12-19 21:22 你可以location正则匹配 然后取$uri变量rewrite到对应地址 然后proxy_pass
xshell 发表于 2020-12-19 21:27 大佬可以写一下吗?真的不会
liuyangge 发表于 2020-12-19 21:36 你给两个示例啊 我帮你看一下怎么写
xshell 发表于 2020-12-19 21:50 就是把某个网站例如 abc.com 反代到我的网站目录 XXX.com/abc/ 然后XXX.com/abc/可以正常访问ab ...
liuyangge 发表于 2020-12-19 22:42
本版积分规则 发表回复 回帖后跳转到最后一页
Archiver|手机版|小黑屋|全球主机交流论坛
GMT+8, 2025-12-22 03:17 , Processed in 0.070287 second(s), 8 queries , Gzip On, MemCache On.
Powered by Discuz! X3.4
© 2001-2023 Discuz! Team.