export app config vars into sigil environment for use in nginx templates. closes #2149

This commit is contained in:
Michael Hobbs
2016-04-27 11:56:50 -07:00
parent 64f83f976e
commit 7b1bc522f6
2 changed files with 3 additions and 0 deletions

View File

@@ -69,6 +69,8 @@ server {
{{ .SSL_SERVER_NAME }} List of SSL VHOSTS
```
> NOTE: Application config variables are available for use in custom templates. To do so, use the form of `{{ var "FOO" }}` to access a variable named `FOO`.
### Example HTTP to HTTPS Custom Template
Use case: a simple dockerfile app that includes `EXPOSE 80`