|
@ -175,7 +175,6 @@ upstream {{ $upstream_name }} { |
|
|
{{/* Get the VIRTUAL_ROOT By containers w/ use fastcgi root */}} |
|
|
{{/* Get the VIRTUAL_ROOT By containers w/ use fastcgi root */}} |
|
|
{{ $vhost_root := or (first (groupByKeys $containers "Env.VIRTUAL_ROOT")) "/var/www/public" }} |
|
|
{{ $vhost_root := or (first (groupByKeys $containers "Env.VIRTUAL_ROOT")) "/var/www/public" }} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{{/* Get the first cert name defined by containers w/ the same vhost */}} |
|
|
{{/* Get the first cert name defined by containers w/ the same vhost */}} |
|
|
{{ $certName := (first (groupByKeys $containers "Env.CERT_NAME")) }} |
|
|
{{ $certName := (first (groupByKeys $containers "Env.CERT_NAME")) }} |
|
|
|
|
|
|
|
@ -324,7 +323,7 @@ server { |
|
|
} |
|
|
} |
|
|
{{ end }} |
|
|
{{ end }} |
|
|
{{ if (eq $serviceName "clightning_bitcoin_charge") }} |
|
|
{{ if (eq $serviceName "clightning_bitcoin_charge") }} |
|
|
location /ligthning-charge/btc/ { |
|
|
location /lightning-charge/btc/ { |
|
|
proxy_pass http://clightning_bitcoin_charge:9112/; |
|
|
proxy_pass http://clightning_bitcoin_charge:9112/; |
|
|
} |
|
|
} |
|
|
{{ end }} |
|
|
{{ end }} |
|
|