We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a8d23a7 commit eac6cfdCopy full SHA for eac6cfd
README.md
@@ -70,11 +70,13 @@ this based on the source file name.
70
71
### Example with golang templates
72
73
+Withing the template there are [Template functions available from Sprig](https://masterminds.github.io/sprig/).
74
+
75
Configuration file `daemon.conf.tmpl`:
76
```
77
<VirtualHost ...>
- ServerName {{.Env.SERVERNAME}}
- DocumentRoot {{.Env.DOCUMENTROOT}}
78
+ ServerName {{env "SERVERNAME"}}
79
+ DocumentRoot {{env "DOCUMENTROOT"}}
80
<VirtualHost>
81
82
@@ -93,7 +95,6 @@ Reuslt file `daemon.conf`:
93
95
ServerName www.foobar.example
94
96
DocumentRoot /var/www/foobar.example/
97
-
98
99
100
## Installation
0 commit comments