10 lines
262 B
Plaintext
10 lines
262 B
Plaintext
{{ if .DOKKU_APP_LISTENERS }}
|
|
upstream {{ .APP }} {
|
|
{{ range .DOKKU_APP_LISTENERS | split " " }} server {{ . }};
|
|
{{ end }}}
|
|
{{ else if .PASSED_LISTEN_IP_PORT }}
|
|
upstream {{ .APP }} {
|
|
server {{ .DOKKU_APP_LISTEN_IP }}:{{ .DOKKU_APP_LISTEN_PORT }};
|
|
}
|
|
{{ end }}
|