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?
to your account
I am running piwik on nginx with php-fpm and I have configured a vhost for port 80 and one for 443. Both work just fine and I am able to login and use piwik via https.
However if I enable "force_ssl_login" Safari throws a "Too many redirects" error.
When using curl -k -v https://my-host.com/ I'm getting another
HTTP/1.1 302 Moved Temporarily
Is there maybe a header that is missing like X-FORWARDED-PROTO?
The text was updated successfully, but these errors were encountered:
Hmm, forget the last line - that header should only be relevant in proxy setups
Sorry, something went wrong.
Your nginx configuration doesn't appear to set the HTTPS environment variable (which PHP looks for in $_SERVER['HTTPS']). Add this to your nginx config:
fastcgi_param HTTPS on;
Thank you! That helped!
how do I force Piwik to use SSL for more security?
No branches or pull requests