只需一步,快速开始
举报
榆木 发表于 2024-4-15 13:15 带套了吧 把套的回源改成 443
txjcv 发表于 2024-4-15 13:17 没有套cdn 我是这样的 curl 访问网站就让他默认访问一个 curl.html 无意的空白内容 然后非curl访问的话我 ...
榆木 发表于 2024-4-15 13:20 if ( $http_user_agent !~* curl ){ return 301 http://test.com/other/index.html;
wuxudd 发表于 2024-4-15 13:21 你301不写在 location下,那不等于所有非curl请求都进行一遍301啊,包括已经301跳转的请求。 ...
txjcv 发表于 2024-4-15 13:25 这个301是默认lnmp脚本的 http重定向到https的配置
本版积分规则 发表回复 回帖后跳转到最后一页
Archiver|手机版|小黑屋|全球主机交流论坛
GMT+8, 2024-5-16 19:07 , Processed in 0.067179 second(s), 8 queries , Gzip On, MemCache On.
Powered by Discuz! X3.4
© 2001-2023 Discuz! Team.