We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When I use the rewrite to https
<IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{HTTPS} !=on RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R=301,L] </IfModule>
It return err_too_many_redirects error
err_too_many_redirects
And when I check the network tab in chrome developer tools I see has many 302 redirects..
I solve the problem change RewriteCond %{HTTPS} !=on to RewriteCond %{HTTP:X-Forwarded-Proto} =http and now It's all ok
RewriteCond %{HTTPS} !=on
RewriteCond %{HTTP:X-Forwarded-Proto} =http
The text was updated successfully, but these errors were encountered:
Yup, it's a known issue and will be fixed by #84. See also #52.
Sorry, something went wrong.
No branches or pull requests
When I use the rewrite to https
It return
err_too_many_redirects
errorAnd when I check the network tab in chrome developer tools I see has many 302 redirects..
I solve the problem change
RewriteCond %{HTTPS} !=on
toRewriteCond %{HTTP:X-Forwarded-Proto} =http
and now It's all okThe text was updated successfully, but these errors were encountered: