只需一步,快速开始
举报
if (!-e $request_filename) { rewrite ^(.*)$ /index.php?q=$1 last;
location / { autoindex off; set $wp_super_cache_file ''; set $wp_super_cache_uri $request_uri; if ( $request_method = POST ) { set $wp_super_cache_uri ''; } if ( $query_string ) { set $wp_super_cache_uri ''; } if ( $http_cookie ~* "comment_author_|WordPress|wp-postpass_" ) { set $wp_super_cache_uri ''; } if ( $wp_super_cache_uri ~ ^(.+)$ ) { set $wp_super_cache_file /wp-content/cache/wp_super_cache/$http_host/$1index.html; } if ( -f $document_root$wp_super_cache_file ) { rewrite ^(.*)$ $wp_super_cache_file break; } if (-f $request_filename) { expires 30d; break; } if (!-e $request_filename) { rewrite ^(.+)$ /index.php?q=$1 last; }
本版积分规则 发表回复 回帖后跳转到最后一页
Archiver|手机版|小黑屋|全球主机交流论坛
GMT+8, 2024-5-28 06:30 , Processed in 0.066927 second(s), 9 queries , Gzip On, MemCache On.
Powered by Discuz! X3.4
© 2001-2023 Discuz! Team.