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

Fix authorization header not passed to proxy (fix #9)

This commit is contained in:
Nicolas Frandeboeuf 2020-03-29 14:49:16 +02:00 committed by GitHub
parent 2df4c3f470
commit e92f290944
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) {