排序
WordPress WP-Super-Cache 缓存插件 Nginx 优化规则
WP-Super-Cache 作为 WordPress 的老牌静态缓存插件,它在 WordPress.Org 的一个角落一直有一份 Nginx 伪静态规则(https://wordpress.org/support/article/nginx/#wp-super-cache-rules)。配...
nginx 屏蔽网站首页访问 允许蜘蛛访问的方法
location = / { if ($http_user_agent !~* (spider|bot|googlebot|bingbot|yandex|msnbot|slurp)) { return 403; } # other rules }