root: fix permission denied error for backups

This commit is contained in:
Jens Langhammer
2020-10-26 19:07:08 +01:00
parent 6a8000ea0d
commit 6b3411f63b
5 changed files with 18 additions and 4 deletions

View File

@ -34,7 +34,8 @@ server {
proxy_set_header X-Forwarded-Proto https;
proxy_set_header X-Forwarded-Port 443;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $http_host;
# This needs to be set inside the location block, very important.
proxy_set_header Host $host;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $connection_upgrade;
}