因为最近EdgeOne走红,很多站长都开始使用CDN,最近也关注得比较多,很多站长都有被盗刷流量的经历。虽然我使用的EdgeOne无限流量,但是保不准什么时候就变成限制流量了,还是要防范于未然。其他站长大多是推荐使用防盗链、限制地区、CC防护等。
我使用的是1Panel V2,在网站设置里面开启防盗链就可以了。扩展名用默认的就可以,我放开了ico扩展名,因为网站logo需要放开给友链网站。
当前位置: 首页 >
1Panel
为CDN开启WAF安全防护
Warning: include(/www/wwwroot/WordPress/wp-content/themes/weisaygrace/includes/thumbnail_two.php): Failed to open stream: No such file or directory in /www/wwwroot/WordPress/wp-content/themes/weisaygrace-child/archive.php on line 27
Warning: include(): Failed opening '/www/wwwroot/WordPress/wp-content/themes/weisaygrace/includes/thumbnail_two.php' for inclusion (include_path='.:/www/server/php/82/lib/php') in /www/wwwroot/WordPress/wp-content/themes/weisaygrace-child/archive.php on line 27
NAS使用1Panel面板搭建WordPress站点(CDN回源)
Warning: include(/www/wwwroot/WordPress/wp-content/themes/weisaygrace/includes/thumbnail_two.php): Failed to open stream: No such file or directory in /www/wwwroot/WordPress/wp-content/themes/weisaygrace-child/archive.php on line 27
Warning: include(): Failed opening '/www/wwwroot/WordPress/wp-content/themes/weisaygrace/includes/thumbnail_two.php' for inclusion (include_path='.:/www/server/php/82/lib/php') in /www/wwwroot/WordPress/wp-content/themes/weisaygrace-child/archive.php on line 27
之前有写过腾讯云搭建WordPress站点,若想了解,可以查看以前的文章。这次介绍使用NAS本地搭建WordPress站点,并使用CDN回源隐藏端口号(需本地网络开通公网IP),另外国内CDN需要进行域名备案,CF可以免备案,但是访问速度不理想,最近腾讯云EdgeOne有免费CDN了,但是需要抢兑换码,可以关注下。