Fix wprocket

This commit is contained in:
VirtuBox
2019-08-05 21:48:14 +02:00
parent 47ad8cd343
commit ffb82d8d8b
7 changed files with 27 additions and 18 deletions

View File

@@ -52,11 +52,6 @@ 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;
@@ -68,3 +63,8 @@ map $skip_cache $cache_uri {
0 $request_uri;
default 'null cache';
}
map $https $https_prefix {
default "";
on "-https"
}