Hi,
Before updating dokku I had two template files, and in deploy was identified the right to use:
ngix.conf.template
ngix.ssl.conf.template
The new template has changed to:
ngix.conf.sigil
However SSL template (ngix.ssl.conf.sigil) no more automatically recognized.
Why?
We no longer have two different templates in dokku for generating nginx configuration, and now use sigil - a go-template based template engine - to generate config files for nginx. Please see our migration docs for more information.
Thanks @josegonzalez.
My conf now needs a some like:
{{ if .SSL_INUSE }}
SSL configuration.
{{ else }}
No SSL configuration.
{{ end }}
Correct?
More or less. Here is our current template.