Explorar o código

Add Authorization header forwarding to the Nginx configuration for Docker (#2282)

* Add Authorization header forwarding to the Nginx configuration for Docker

* Comment
Benjamin Bouvier %!s(int64=7) %!d(string=hai) anos
pai
achega
6323fe5ea0
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      Docker/README.md

+ 4 - 0
Docker/README.md

@@ -301,6 +301,10 @@ server {
 		proxy_set_header X-Forwarded-Proto $scheme;
 		proxy_set_header X-Forwarded-Port $server_port;
 		proxy_read_timeout 90;
+		
+		# Forward the Authorization header for the Google Reader API.
+		proxy_set_header Authorization $http_authorization;
+		proxy_pass_header Authorization;
 	}
 }
 ```