소스 검색

Add comment about X-Forwarded-Proto mapping

Mike Dillon 10 년 전
부모
커밋
0028cdafe9
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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;