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:
parent
2df4c3f470
commit
e92f290944
1 changed files with 2 additions and 0 deletions
|
@ -22,6 +22,8 @@ location __PATH__/ {
|
||||||
proxy_buffering off;
|
proxy_buffering off;
|
||||||
fastcgi_param REMOTE_USER $remote_user;
|
fastcgi_param REMOTE_USER $remote_user;
|
||||||
client_max_body_size 50M;
|
client_max_body_size 50M;
|
||||||
|
more_set_input_headers 'Authorization: $http_authorization';
|
||||||
|
proxy_set_header Authorization $http_authorization;
|
||||||
|
|
||||||
# Force https
|
# Force https
|
||||||
if ($scheme = http) {
|
if ($scheme = http) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue