CausticLab/rgon-proxy

Modify acmetool block

Munsio opened this issue · 0 comments

We need to modify this block

## ACME CHALLENGE -------
{{range $domain, $services := services | groupByLabel "rgon-acme" -}}
upstream acmetool {
  {{range $serv := $services}}{{range $cnt := .Containers -}}
    {{range $port := $serv.Ports}}
      server {{$cnt.Address}}:{{$port.InternalPort}};
    {{- end}}
  {{- end}}{{- end}}
}
{{end}}

To use server {{$cnt.Address}}:402; instead of the exposed port to remove the 402 port mentioned in:
CausticLab/rancher-catalog#6