File tree Expand file tree Collapse file tree 6 files changed +18
-2
lines changed
usr/share/easyengine/nginx Expand file tree Collapse file tree 6 files changed +18
-2
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ server {
3535 try_files /wp-content/cache/page_enhanced/${host}${cache_uri}_index.html $uri $uri/ /index.php?$args;
3636 }
3737
38- location ~ ^/wp-content/cache/minify/[^/]+/(.* )$ {
38+ location ~ ^/wp-content/cache/minify/(.+\.(css|js) )$ {
3939 try_files $uri /wp-content/plugins/w3-total-cache/pub/minify.php?file=$1;
4040 }
4141
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ server {
3535 try_files $uri $uri/ /index.php?$args;
3636 }
3737
38- location ~ ^/wp-content/cache/minify/[^/]+/(.* )$ {
38+ location ~ ^/wp-content/cache/minify/(.+\.(css|js) )$ {
3939 try_files $uri /wp-content/plugins/w3-total-cache/pub/minify.php?file=$1;
4040 }
4141
Original file line number Diff line number Diff line change @@ -53,6 +53,10 @@ server {
5353 try_files /wp-content/cache/page_enhanced/${host}${cache_uri}_index.html $uri $uri/ /index.php?$args;
5454 }
5555
56+ location ~ ^/wp-content/cache/minify/(.+\.(css|js))$ {
57+ try_files $uri /wp-content/plugins/w3-total-cache/pub/minify.php?file=$1;
58+ }
59+
5660 location ~ \.php$ {
5761 try_files $uri =404;
5862 include fastcgi_params;
Original file line number Diff line number Diff line change @@ -53,6 +53,10 @@ server {
5353 try_files $uri $uri/ /index.php?$args;
5454 }
5555
56+ location ~ ^/wp-content/cache/minify/(.+\.(css|js))$ {
57+ try_files $uri /wp-content/plugins/w3-total-cache/pub/minify.php?file=$1;
58+ }
59+
5660 location ~ \.php$ {
5761 try_files $uri =404;
5862 include fastcgi_params;
Original file line number Diff line number Diff line change @@ -41,6 +41,10 @@ server {
4141 try_files /wp-content/cache/page_enhanced/${host}${cache_uri}_index.html $uri $uri/ /index.php?$args;
4242 }
4343
44+ location ~ ^/wp-content/cache/minify/(.+\.(css|js))$ {
45+ try_files $uri /wp-content/plugins/w3-total-cache/pub/minify.php?file=$1;
46+ }
47+
4448 location ~ \.php$ {
4549 try_files $uri =404;
4650 include fastcgi_params;
Original file line number Diff line number Diff line change @@ -41,6 +41,10 @@ server {
4141 try_files $uri $uri/ /index.php?$args;
4242 }
4343
44+ location ~ ^/wp-content/cache/minify/(.+\.(css|js))$ {
45+ try_files $uri /wp-content/plugins/w3-total-cache/pub/minify.php?file=$1;
46+ }
47+
4448 location ~ \.php$ {
4549 try_files $uri =404;
4650 include fastcgi_params;
You can’t perform that action at this time.
0 commit comments