Adapt frontend rules to new containers

This commit is contained in:
Jean Froment 2017-08-13 17:33:18 +02:00
parent 6eae55dde3
commit e1a47a2540
1 changed files with 12 additions and 2 deletions

View File

@ -93,8 +93,18 @@ http {
server_name ~^(couchpotato)(\.\w+)+$; server_name ~^(couchpotato)(\.\w+)+$;
location / { location / {
set $sonarr http://couchpotato:5050; set $couchpotato http://couchpotato:5050;
proxy_pass $sonarr; proxy_pass $couchpotato;
}
}
server {
include common.conf;
server_name ~^(radarr)(\.\w+)+$;
location / {
set $radarr http://radarr:7878;
proxy_pass $radarr;
} }
} }