last
This commit is contained in:
parent
71efd71cad
commit
9de2461283
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user