CausticLab / rgon-proxy

the base image of the rancher nginx-letsencrypt proxy
5 stars 1 forks source link

Modify acmetool block #33

Closed Munsio closed 7 years ago

Munsio commented 7 years ago

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: https://github.com/CausticLab/rancher-catalog/issues/6