From bc319597875906075a66755015c5fd41b4ed5242 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Thu, 16 Mar 2023 19:49:53 +0100 Subject: [PATCH] Align with radarr --- sonarr/rootfs/etc/nginx/servers/ingress.conf | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/sonarr/rootfs/etc/nginx/servers/ingress.conf b/sonarr/rootfs/etc/nginx/servers/ingress.conf index caf481a01..60b42185b 100644 --- a/sonarr/rootfs/etc/nginx/servers/ingress.conf +++ b/sonarr/rootfs/etc/nginx/servers/ingress.conf @@ -1,8 +1,8 @@ server { listen %%interface%%:%%port%% default_server; - include /etc/nginx/includes/server_params.conf; - include /etc/nginx/includes/proxy_params.conf; + #include /etc/nginx/includes/server_params.conf; + #include /etc/nginx/includes/proxy_params.conf; client_max_body_size 0; @@ -11,13 +11,19 @@ server { proxy_connect_timeout 30m; proxy_send_timeout 30m; proxy_read_timeout 30m; - proxy_pass http://127.0.0.1:8989; + proxy_pass http://127.0.0.1:7878; + # Allow signalr + #proxy_http_version 1.1; + #proxy_set_header Upgrade $http_upgrade; + #proxy_set_header Connection $http_connection; + #auth_basic off; + + # Correct base_url proxy_set_header Accept-Encoding ""; - # Correct url without port when using https - sub_filter_once off; - sub_filter_types *; - sub_filter /sonarr %%ingress_entry%%/sonarr; + sub_filter_once off; + sub_filter_types *; + sub_filter /radarr %%ingress_entry%%/radarr; } }