Implement --wprocket
* cleanup templates by using variables * add configuration for wp-rocket * update mapping for wp-rocket
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# NGINX CONFIGURATION FOR FASTCGI_CACHE EXCEPTION - WO v3.9.5
|
||||
# NGINX CONFIGURATION FOR FASTCGI_CACHE EXCEPTION - WO v3.9.7
|
||||
# DO NOT MODIFY, ALL CHANGES WILL BE LOST AFTER AN WordOps (wo) UPDATE
|
||||
|
||||
# do not cache xhtml request
|
||||
@@ -52,6 +52,11 @@ map $is_args $query_no_cache {
|
||||
"" 0;
|
||||
}
|
||||
|
||||
map $https $https_prefix {
|
||||
default "";
|
||||
on "-https"
|
||||
}
|
||||
|
||||
# if all previous check are passed, $skip_cache = 0
|
||||
map $http_request_no_cache$cookie_no_cache$uri_no_cache$query_no_cache $skip_cache {
|
||||
default 1;
|
||||
|
||||
Reference in New Issue
Block a user