From 0028cdafe9e06d2d8eb70c8d4824f1331dd2b71f Mon Sep 17 00:00:00 2001 From: Mike Dillon Date: Sat, 25 Oct 2014 17:13:04 -0700 Subject: [PATCH] Add comment about X-Forwarded-Proto mapping --- nginx.tmpl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nginx.tmpl b/nginx.tmpl index f0cae0d..cb558e5 100644 --- a/nginx.tmpl +++ b/nginx.tmpl @@ -1,3 +1,5 @@ +# If we receive X-Forwarded-Proto, pass it through; otherwise, pass along the +# scheme used to connect to this server map $http_x_forwarded_proto $proxy_x_forwarded_proto { default $http_x_forwarded_proto; '' $scheme;