One more fix for https.  Sets proxy_https variable to 'on' when x-forwarded-proto is 'https'.  A fastcgi param is then set to relay this to PHP.