New issue
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
system check for forced SSL connection shouldn't warn behind reverse proxy #13374
Comments
I am seeing the same bug. Is there a timeline for a fix? |
Two years later I was again thinking about this and I'm not 100% sure if the current status isn't correct. If I am not mistaken
There is even a function in Matomo that checks this case: Lines 711 to 723 in 1155273
Of course one could argue that In case I am wrong, changing the check is simply a matter of modifying this: matomo/plugins/Diagnostics/Diagnostic/ForceSSLCheck.php Lines 48 to 52 in b16a791
|
When |
As suggested in #17861 we keep the system check as it is and instead adjust the documentation and mention that we suggest to also set This is to be done in https://matomo.org/faq/how-to-install/faq_98/ and could also mention it in https://matomo.org/faq/how-to-install/ |
OK, added it: |
Nice @geekdenz 👍 Maybe be good to mention that it will cause HTTP requests to be redirected to HTTPS. And could be good to put in a link to https://matomo.org/faq/how-to/faq_91/ to get more information if needed. |
done |
Great 👍 💯 |
…e means in config.ini.php files #13374
* relax force ssl if assuming secure protocol #13374 * avoid error ignoring on always defined config variables #13374 * solidify Config::getBool() with unit test #13374 * leave logic as was but introduce new method: Config::getBool() #13374 * ensure all possible true settings' values are reflected and documented in tests #13374 * show developers how boolean settings should be processed and what true means in config.ini.php files #13374 * remove edge cases and exception handling fixes #13374 * Update tests/PHPUnit/Unit/Config/ConfigTest.php Co-authored-by: Stefan Giehl <stefan@matomo.org> * beautify test cases with @dataProvider #13374 * Apply suggestions from code review Co-authored-by: Stefan Giehl <stefan@matomo.org>
followup to #13193 and reported on the forum:
https://forum.matomo.org/t/matomo-behind-reverse-proxy-and-force-ssl-setting/29672
When
assume_secure_protocol=1
is already set, Matomo shouldn't complain to setup SSL.The text was updated successfully, but these errors were encountered: