Submitted by jasongayson on Thu, 02/07/2013 - 22:39
Add the following:
fastcgi_param HTTPS $https;
The $https variable is on in case of HTTPS, otherwise off.
If this isn't passed to the CGI process, then scripts will think that they are running under HTTP, and try to redirect you from HTTPS to HTTP, or vice versa, and all kinds of other issues such as infinite redirect loops as it keeps trying to send you to the https site even though you are already on it.
Status:
Closed (fixed)
Comments
Submitted by JamieCameron on Thu, 02/07/2013 - 22:41 Comment #1
Thanks .. I'll add that.
Submitted by Issues on Thu, 02/21/2013 - 22:46 Comment #2
Automatically closed -- issue fixed for 2 weeks with no activity.