chaitin / SafeLine

A web security gateway, serve as a reverse proxy to protect your websites from attacks and exploits.
https://waf.chaitin.com
GNU General Public License v3.0
10.87k stars 650 forks source link

网站配置后链接文件失效 #931

Closed heardic closed 2 weeks ago

heardic commented 3 weeks ago

反馈内容

当前架构如下

问题如下:

域名已解析到CDN,CDN源站IP设置为C时,网站返回内容中会有很多链接找不到,提示

Mixed Content: The page at 'https://www.nuoyo.cn/' was loaded over HTTPS, but requested an insecure script 'http://www.nuoyo.cn/wp-content/themes/NY/static/lib/swiper/swiper.min.js'. This request has been blocked; the content must be served over HTTPS.
heardic commented 3 weeks ago

微信截图_20240614194751

heardic commented 2 weeks ago

已解决,原因是我在雷池WAF配置上游服务器IP配置的是http://IP,因为我用的是https所以上游IP配置成https://IP就可以了