只需一步,快速开始
举报
原帖由 fish 于 2010-5-7 12:24 发表 不要紧
原帖由 fish 于 2010-5-6 22:08 发表 我的,肯定对,正在用呢
location ~ .*\.(gif|jpg|jpeg|png|bmp|swf|js|css)$ { expires 30d; } 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/supercache/$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 last; } }
查看全部评分
原帖由 greensnow 于 2010-5-5 19:51 发表 php文件停止解析了,你肯定配置写错了
本版积分规则 发表回复
Archiver|手机版|小黑屋|全球主机交流论坛
GMT+8, 2025-11-11 16:54 , Processed in 0.117179 second(s), 14 queries , Gzip On, MemCache On.
Powered by Discuz! X3.4
© 2001-2023 Discuz! Team.