[nginx] svn commit: r4334 - trunk/conf

vbart at nginx.com vbart at nginx.com
Fri Dec 9 15:38:27 UTC 2011


Author: vbart
Date: 2011-12-09 15:38:26 +0000 (Fri, 09 Dec 2011)
New Revision: 4334

Modified:
   trunk/conf/fastcgi_params
   trunk/conf/scgi_params
   trunk/conf/uwsgi_params
Log:
Added HTTPS param with Apache-like behaviour to fastcgi/scgi/uwsgi_params (fixes #38).


Modified: trunk/conf/fastcgi_params
===================================================================
--- trunk/conf/fastcgi_params	2011-12-09 14:38:11 UTC (rev 4333)
+++ trunk/conf/fastcgi_params	2011-12-09 15:38:26 UTC (rev 4334)
@@ -9,6 +9,7 @@
 fastcgi_param  DOCUMENT_URI       $document_uri;
 fastcgi_param  DOCUMENT_ROOT      $document_root;
 fastcgi_param  SERVER_PROTOCOL    $server_protocol;
+fastcgi_param  HTTPS              $https if_not_empty;
 
 fastcgi_param  GATEWAY_INTERFACE  CGI/1.1;
 fastcgi_param  SERVER_SOFTWARE    nginx/$nginx_version;

Modified: trunk/conf/scgi_params
===================================================================
--- trunk/conf/scgi_params	2011-12-09 14:38:11 UTC (rev 4333)
+++ trunk/conf/scgi_params	2011-12-09 15:38:26 UTC (rev 4334)
@@ -8,6 +8,7 @@
 scgi_param  DOCUMENT_ROOT      $document_root;
 scgi_param  SCGI               1;
 scgi_param  SERVER_PROTOCOL    $server_protocol;
+scgi_param  HTTPS              $https if_not_empty;
 
 scgi_param  REMOTE_ADDR        $remote_addr;
 scgi_param  REMOTE_PORT        $remote_port;

Modified: trunk/conf/uwsgi_params
===================================================================
--- trunk/conf/uwsgi_params	2011-12-09 14:38:11 UTC (rev 4333)
+++ trunk/conf/uwsgi_params	2011-12-09 15:38:26 UTC (rev 4334)
@@ -8,6 +8,7 @@
 uwsgi_param  PATH_INFO          $document_uri;
 uwsgi_param  DOCUMENT_ROOT      $document_root;
 uwsgi_param  SERVER_PROTOCOL    $server_protocol;
+uwsgi_param  HTTPS              $https if_not_empty;
 
 uwsgi_param  REMOTE_ADDR        $remote_addr;
 uwsgi_param  REMOTE_PORT        $remote_port;



More information about the nginx-devel mailing list