diff --git a/static/nginx.conf b/static/nginx.conf index b4a2d8d..8d1cab2 100644 --- a/static/nginx.conf +++ b/static/nginx.conf @@ -26,7 +26,7 @@ http { testcookie_secure_flag on; testcookie_get_only on; testcookie_p3p 'CP="CUR ADM OUR NOR STA NID", policyref="/w3c/p3p.xml"'; - testcookie_fallback /cookies.html?backurl=http://$host$request_uri; + testcookie_fallback /cookies.html?backurl=$scheme://$host$request_uri; # Those are some ip's whitelisted by me. mostly are search engines. But not everything! testcookie_whitelist {