ERR_TOO_MANY_REDIRECTS #5
Comments
@habnai Thanks for the report. Are you using ModSecurity or Naxsi? Please post the relevant lines in your |
hi, i am using ModSecurity this is the log
|
@habnai Your log looks normal. Sorry I am traveling and cannot look into this further today. |
no problem i will try to find whats the problem and give you note. good travel :) |
Hi i think i found the problem its in nginx config i removed |
@habnai First, thank you for finding the problem and contributing with your pull request. This line in the Nginx config file, Therefore generally I don't think removing that line is a good idea, although it does seems to help for your use case. |
Hi, you have right,i back it and keep looking for the problem. |
@habnai Thank you. I think as long as the workaround works fine for you and you don't force HTTPS, feel free to continue using it. I don't want to take too much of your time on this : ) |
I dont like workaround somthing :),i like it clear i use https for all blog ,just for this issue maybe its bug in ghost.i Will see and Good work |
@habnai After further troubleshooting, the underlying cause of this issue has been identified. It is solely caused by the caching of HTTP 302 reponses in the Nginx configuration. For password-protected blogs, visiting the blog home page will be redirected (302) to "/private" for authentication. After that the user is redirected back (302) to the home page. However, because there is an existing 302 redirect cached for the home page, a redirect loop is created. To resolve this issue, simply edit all Nginx config files and replace this line
No other changes to the Nginx config files are required. You can revert the |
- Fix redirect loop affecting password-protected blogs - Closes #5
- Fix redirect loop affecting password-protected blogs - Closes #5
Hi
Everything work great but when I setup ghost private with password from the dashboard i get error. ERR_TOO_MANY_REDIRECTS , when enter website,any solution thank you
The text was updated successfully, but these errors were encountered: