Explorar o código

Add comment about X-Forwarded-Proto mapping

Mike Dillon %!s(int64=10) %!d(string=hai) anos
pai
achega
0028cdafe9
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      nginx.tmpl

+ 2 - 0
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;