File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ set $rocket_encryption ""; # Is GZIP accepted by client ?
24
24
set $rocket_file ""; # Filename to use
25
25
set $rocket_is_bypassed "No"; # Header text added to check if the bypass worked or not. Header: X-Rocket-Nginx-Bypass
26
26
set $rocket_reason ""; # Reason why cache file was not used. If cache file is used, what file was used
27
- set $https_prefix ""; # HTTPS prefix to use when cached files are using HTTPS
27
+ set $rocket_https_prefix ""; # HTTPS prefix to use when cached files are using HTTPS
28
28
29
29
30
30
###################################################################################################
@@ -38,11 +38,11 @@ if ($http_accept_encoding ~ gzip) {
38
38
39
39
# Is SSL request ?
40
40
if ($https = "on") {
41
- set $https_prefix "-https";
41
+ set $rocket_https_prefix "-https";
42
42
}
43
43
44
44
# File/URL to return IF we must bypass WordPress
45
- set $rocket_url "/wp-content/cache/wp-rocket/$http_host/$request_uri/index$https_prefix .html$rocket_encryption";
45
+ set $rocket_url "/wp-content/cache/wp-rocket/$http_host/$request_uri/index$rocket_https_prefix .html$rocket_encryption";
46
46
set $rocket_file "$document_root$rocket_url";
47
47
48
48
You can’t perform that action at this time.
0 commit comments