This commit is contained in:
kjeld Schouten-Lebbing 2020-02-27 22:51:16 +01:00
parent 71efd71cad
commit 9de2461283

View File

@ -118,19 +118,14 @@ if ($http_referer ~* /plex/) {
location /tautulli/ {
auth_request /auth-4;
add_header X-Frame-Options "SAMEORIGIN";
proxy_pass http://192.168.31.26:8181/;
proxy_pass https://192.168.31.26:8181/;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Host $server_name;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_read_timeout 90;
proxy_set_header X-Forwarded-Proto $scheme;
set $xforwardedssl "off";
if ($scheme = https) {
set $xforwardedssl "on";
}
proxy_set_header X-Forwarded-Ssl $xforwardedssl;
proxy_redirect ~^(http(?:s)?://)([^:/]+)(?::\d+)?(/.*)?$ $1$2:$server_port$3;
proxy_set_header X-Forwarded-Ssl on;
}
location /ombi {