Skip to content

Commit 61020ab

Browse files
author
Maxime Jobin
committed
Wrong path in the specific mobile detection.
1 parent 8de1d24 commit 61020ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rocket-nginx.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ if ($rocket_hsts = "0") {
6161
# index-mobile-https.html
6262
set $rocket_url "/wp-content/cache/wp-rocket/$http_host/$request_uri/index$rocket_https_prefix.html$rocket_encryption";
6363
set $rocket_file "$document_root$rocket_url";
64-
set $rocket_mobile_detection "/wp-content/cache/wp-rocket/$http_host/$request_uri/.mobile-active";
64+
set $rocket_mobile_detection "$document_root/wp-content/cache/wp-rocket/$http_host/$request_uri/.mobile-active";
6565

6666

6767
# Do not bypass if it's a POST request

0 commit comments

Comments
 (0)