Skip to content

Commit 3cc04d3

Browse files
committed
Add W3TC Minify Rules For WP WPFC
1 parent 23d5a1b commit 3cc04d3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

usr/share/easyengine/nginx/wp/wpfc.conf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@ server {
3535
try_files $uri $uri/ /index.php?$args;
3636
}
3737

38+
location ~ ^/wp-content/cache/minify/[^/]+/(.*)$ {
39+
try_files $uri /wp-content/plugins/w3-total-cache/pub/minify.php?file=$1;
40+
}
41+
3842
location ~ .php$ {
3943
try_files $uri /index.php;
4044
include fastcgi_params;

0 commit comments

Comments
 (0)