From 5d7b460156f2d2cefa5dfa26a0c68e8aa9a0e899 Mon Sep 17 00:00:00 2001 From: kjeld Schouten-Lebbing Date: Thu, 27 Feb 2020 22:56:51 +0100 Subject: [PATCH] back --- includes/organizr-conf/custom/organizr.conf | 28 +++++---------------- 1 file changed, 6 insertions(+), 22 deletions(-) diff --git a/includes/organizr-conf/custom/organizr.conf b/includes/organizr-conf/custom/organizr.conf index 6f4e6778..4b8e76b3 100644 --- a/includes/organizr-conf/custom/organizr.conf +++ b/includes/organizr-conf/custom/organizr.conf @@ -119,30 +119,14 @@ location /tautulli/ { auth_request /auth-4; add_header X-Frame-Options "SAMEORIGIN"; proxy_pass https://192.168.31.26:8181/; - client_max_body_size 10m; - 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 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_set_header X-Forwarded-Proto https; - proxy_redirect http:// $scheme://; - 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"; - } + proxy_read_timeout 90; + proxy_set_header X-Forwarded-Proto $scheme; + proxy_set_header X-Forwarded-Ssl on; +} location /ombi { auth_request /auth-4;