Mercurial > hg > nginx
diff conf/fastcgi.conf @ 6168:62869a9b2e7d
Added the REQUEST_SCHEME parameter.
The REQUEST_SCHEME parameter was introduced in Apache 2.3.11 and seems
to be used by some scripts now. It looks more logical than previously
used HTTPS.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Fri, 05 Jun 2015 22:23:26 +0300 |
parents | 4e2551a83291 |
children |
line wrap: on
line diff
--- a/conf/fastcgi.conf +++ b/conf/fastcgi.conf @@ -10,6 +10,7 @@ fastcgi_param REQUEST_URI $reque fastcgi_param DOCUMENT_URI $document_uri; fastcgi_param DOCUMENT_ROOT $document_root; fastcgi_param SERVER_PROTOCOL $server_protocol; +fastcgi_param REQUEST_SCHEME $scheme; fastcgi_param HTTPS $https if_not_empty; fastcgi_param GATEWAY_INTERFACE CGI/1.1;