1
0
Fork 0

mediaserver: add sonarr

This commit is contained in:
Daniel Kempkens 2023-04-16 00:30:21 +02:00
parent 2d6fd9178e
commit 76cc6d0471
Signed by: daniel
SSH key fingerprint: SHA256:Ks/MyhQYcPRQiwMKLAKquWCdCPe3JXlb1WttgnAoSeM

View file

@ -49,14 +49,7 @@
proxyPass = "http://unix:/run/socat-sonarr/sonarr.sock:/";
extraConfig = ''
set $fake_host localhost;
proxy_set_header Host $fake_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-Host $fake_host;
proxy_set_header X-Forwarded-Server $fake_host;
proxy_set_header Host localhost;
'';
};
};