1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/gotify_ynh.git synced 2024-09-03 20:36:26 +02:00

Merge pull request #10 from nicofrand/patch-1

Fix authorization header not passed to proxy (fix #9)
This commit is contained in:
Clément 2020-03-29 15:07:28 +02:00 committed by GitHub
commit a0f5108481
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -22,6 +22,8 @@ location __PATH__/ {
proxy_buffering off;
fastcgi_param REMOTE_USER $remote_user;
client_max_body_size 50M;
more_set_input_headers 'Authorization: $http_authorization';
proxy_set_header Authorization $http_authorization;
# Force https
if ($scheme = http) {