This commit is contained in:
kjeld Schouten-Lebbing 2020-02-27 22:53:09 +01:00
parent 9de2461283
commit 69c1654e33

View File

@ -119,14 +119,30 @@ location /tautulli/ {
auth_request /auth-4; auth_request /auth-4;
add_header X-Frame-Options "SAMEORIGIN"; add_header X-Frame-Options "SAMEORIGIN";
proxy_pass https://192.168.31.26:8181/; proxy_pass https://192.168.31.26:8181/;
proxy_set_header Host $host; client_max_body_size 10m;
proxy_set_header X-Forwarded-Host $server_name; client_body_buffer_size 128k;
proxy_bind $server_addr;
proxy_buffers 32 4k;
#Timeout if the real server is dead
proxy_next_upstream error timeout invalid_header http_500 http_502 http_503;
# Advanced Proxy Config
send_timeout 5m;
proxy_read_timeout 240;
proxy_send_timeout 240;
proxy_connect_timeout 240;
proxy_hide_header X-Frame-Options;
# Basic Proxy Config
proxy_set_header Host $host:$server_port;
proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_read_timeout 90; proxy_set_header X-Forwarded-Proto https;
proxy_set_header X-Forwarded-Proto $scheme; proxy_redirect http:// $scheme://;
proxy_set_header X-Forwarded-Ssl on; proxy_http_version 1.1;
} proxy_set_header Connection "";
proxy_no_cache $cookie_session;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
}
location /ombi { location /ombi {
auth_request /auth-4; auth_request /auth-4;