Commit 4deeeab9 by arbabnazar

Replace nginx redirect method from rewrite to return for speeding up

parent 23be4523
......@@ -86,7 +86,7 @@ server {
# Execute the actual redirect
if ($do_redirect_to_https = "true")
{
rewrite ^ https://$host$request_uri? permanent;
return 301 https://$host$request_uri;
}
{{ '{%' }} endif {{ '%}' }}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment