Dokku: SSL nginx.conf template

Created on 2 Aug 2016  路  3Comments  路  Source: dokku/dokku

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?

question

All 3 comments

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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

benwilkins picture benwilkins  路  4Comments

thelonecabbage picture thelonecabbage  路  4Comments

albttx picture albttx  路  3Comments

hhff picture hhff  路  4Comments

josegonzalez picture josegonzalez  路  3Comments