From e1a47a2540689d2e1b6679083219b96fedee5b88 Mon Sep 17 00:00:00 2001 From: Jean Froment Date: Sun, 13 Aug 2017 17:33:18 +0200 Subject: [PATCH] Adapt frontend rules to new containers --- Dockerfiles/frontend/nginx.conf | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/Dockerfiles/frontend/nginx.conf b/Dockerfiles/frontend/nginx.conf index 5eef30c..35a31f6 100644 --- a/Dockerfiles/frontend/nginx.conf +++ b/Dockerfiles/frontend/nginx.conf @@ -93,8 +93,18 @@ http { server_name ~^(couchpotato)(\.\w+)+$; location / { - set $sonarr http://couchpotato:5050; - proxy_pass $sonarr; + set $couchpotato http://couchpotato:5050; + proxy_pass $couchpotato; + } + } + + server { + include common.conf; + server_name ~^(radarr)(\.\w+)+$; + + location / { + set $radarr http://radarr:7878; + proxy_pass $radarr; } }