Skip to content
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

No compatibility with CloudFlare and similar solutions regarding SSL #10437

Closed
quba opened this issue Aug 24, 2016 · 2 comments
Closed

No compatibility with CloudFlare and similar solutions regarding SSL #10437

quba opened this issue Aug 24, 2016 · 2 comments
Labels
answered For when a question was asked and we referred to forum or answered it.

Comments

@quba
Copy link
Contributor

quba commented Aug 24, 2016

When there's a proxy between client and Piwik and ssl is handled by the proxy, Piwik serves all images via http instead of https (because there's no secure connection between proxy and Piwik). Piwik currently uses piwikUrl entry from piwik_option table to generate image URL. Even when Piwik is accessed via https, this entry is set to the http version. It's not even possible to hardcode the URL there because Piwik updates this record on each request.

The solution here would be to let the browser decide which protocol should be used. So instead of hardcoding the protocol, Piwik should use // on the frontend side.

@tsteur
Copy link
Member

tsteur commented Aug 31, 2016

Does the config setting assume_secure_protocol=1 help?

@quba
Copy link
Contributor Author

quba commented Aug 31, 2016

After reading the description, most likely yes. Thank you @tsteur

@quba quba closed this as completed Aug 31, 2016
@mattab mattab added the answered For when a question was asked and we referred to forum or answered it. label Oct 2, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
answered For when a question was asked and we referred to forum or answered it.
Projects
None yet
Development

No branches or pull requests

3 participants