From 5b9e42bb05df1ebeb13ca5d398059d529576d026 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Sat, 2 Feb 2019 01:12:15 +0100 Subject: [PATCH] temp allow only ssl termination proxy --- templates/nginx/vhost.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/nginx/vhost.j2 b/templates/nginx/vhost.j2 index 77c867d..bb0bf9b 100644 --- a/templates/nginx/vhost.j2 +++ b/templates/nginx/vhost.j2 @@ -14,7 +14,7 @@ server { return 301 https://$server_name$request_uri; {% else %} location / { - proxy_pass {{ 'https' if jellyfin_tls_enabled else 'http' }}://backend_jellyfin; + proxy_pass http://backend_jellyfin; proxy_set_header X-Forwarded-For $remote_addr; } {% endif %} @@ -28,7 +28,7 @@ server { client_max_body_size 200M; location / { - proxy_pass {{ 'https' if jellyfin_tls_enabled else 'http' }}://backend_jellyfin; + proxy_pass http://backend_jellyfin; proxy_set_header X-Forwarded-For $remote_addr; }