HTTPS header missing from single server
francis at daoine.org
Sun Mar 10 10:40:31 UTC 2013
On Sat, Mar 09, 2013 at 09:51:02PM -0800, Grant wrote:
> How can I make nginx set the HTTPS header in a single http/https
What is "the HTTPS header"?
> piwik with force_ssl=1 on apache goes into a redirect loop
> because it doesn't know SSL is on due to the nginx reverse proxy.
This sounds like one or more fastcgi_param key/value pairs are not set
the way your application wants them to be set.
http://nginx.org/r/fastcgi_param is how you set them. And it
includes an example with the $https variable, which is described in
The usual nginx directive inheritance rules apply, so you'll want to add
your fastcgi_param line to the correct place -- possibly just after you
include the external file.
Francis Daly francis at daoine.org
More information about the nginx