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

* Add Authorization header forwarding to the Nginx configuration for Docker

* Comment
This commit is contained in:
Benjamin Bouvier
2019-03-19 19:52:53 +01:00
committed by Alexandre Alapetite
parent e6888bbf23
commit 6323fe5ea0

View File

@@ -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;
}
}
```