1
0
This reverts commit c6c290506c.
This commit is contained in:
nicolas.dorier
2019-02-25 14:25:45 +09:00
parent c6c290506c
commit 73b09ee3e9
2 changed files with 29 additions and 3 deletions

View File

@@ -1,5 +1,4 @@
{{ $CurrentContainer := where $ "ID" .Docker.CurrentContainerID | first }}
{{ $CurrentContainer := where $ "ID" .Docker.CurrentContainerID | first }}
{{ define "upstream" }}
{{ if .Address }}
{{/* If we got the containers from swarm and this container's port is published to host, use host IP:PORT */}}
@@ -310,6 +309,11 @@ server {
location /lnd-rest/btc/ {
rewrite ^/lnd-rest/btc/(.*) /$1 break;
proxy_pass http://lnd_bitcoin:8080/;
}
{{ end }}
{{ if (eq $serviceName "lnd_bitcoin_rtl") }}
location /rtl/ {
proxy_pass http://lnd_bitcoin_rtl:3000/rtl/;
}
{{ end }}
{{ if (eq $serviceName "btcqbo") }}