mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-07-29 16:27:45 -04:00
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:
committed by
Alexandre Alapetite
parent
e6888bbf23
commit
6323fe5ea0
@@ -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;
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user