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
There should be a way to set Mautic to use HTTPS in the config #8944
Comments
Hi there, as we are only providing fixes for Mautic 3.x going forward, can you confirm if this continues in Mautic 3.0.1? |
as always the updating of Mautic is a nightmare. I got stuck updating to v3.0.1:
Refreshing the page and going through the docs didn't help as well as the detailed logs. Any suggestions what is causing this?
|
I followed this manual process to update to 3.0.1. And I confirm this issue is still happening. |
@HLFH Do you mean the update issue Perhaps I should open a separate issue for the update to v3.0.1 |
Ok... so I was able to do a clean install of Mautic v3.0.0 and then update to v3.0.1 and I can confirm that the issue still persists. I need to add |
@rori4 4 It depends where you put the line Thank you! |
@HLFH Here you go:
Perhaps it should be better to put it after the |
Thanks for checking this out - if you have problems migrating please post in the dedicated support forum here: https://forum.mautic.org/c/support/mautic-3-install-upgrade-support/98 |
I tweaked the title slightly to make it a bit more descriptive |
The bug is because rel2abs method on Mautic\CoreBundle\Helper\UrlHelper class is not considering right server headers in case of been called from Trusted Proxies. In that case X_FORWARDED_PROTO must be used instead of HTTPS for checking SSL. See code on isSecure method on Symfony\Component\HttpFoundation:
Regards |
@Inboundmanager it seems this PR relates to that scenario: #7931 would you agree? |
Yes, and also #7577 on Mautic 2.16.3 and Mautic 2.15.3 |
Great - please test the PR #7931 if you are able (it has a conflict to be resolved so you may need to apply it manually or wait for it to be resolved!) and hopefully we can merge in 3.1! |
Closing as the PR has been merged which addresses this issue 🎉 |
Just experienced this with installing 4.4.6
|
Bug Description
When running Mautic with SSL encryption you will get a warning for mixed content related to gravatar images. This has been reported before here: Chrome shows Mautic dashboard as not fully secure #7577 & mautic/docker-mautic#37
A solution to this is to add
$_SERVER['HTTPS'] = 'on';
in theindex.php
in the Mautic installation. However, when you update Mautic you will need to do this again.Maybe there can be a setting in the configuration to set the server to use HTTPS ?
Steps to reproduce
The text was updated successfully, but these errors were encountered: