commit | 0ba0fbc5a2cdf55d30155eccb5e80c34309eb60d | [log] [tgz] |
---|---|---|
author | Filip Pytloun <filip@pytloun.cz> | Mon Dec 14 10:01:43 2015 +0100 |
committer | Filip Pytloun <filip@pytloun.cz> | Mon Dec 14 10:01:49 2015 +0100 |
tree | fce7d599f5a4446bea81cdad59f1967b09a2a4f1 | |
parent | 6d6c3012d31cbd694e394485c30817a17996ffbf [diff] |
Allow undefined ServerName
diff --git a/apache/files/_name.conf b/apache/files/_name.conf index 03f0dd2..4f023e9 100644 --- a/apache/files/_name.conf +++ b/apache/files/_name.conf
@@ -2,7 +2,9 @@ ServerAdmin {{ site.host.admin }} {%- endif %} + {%- if site.host is defined and site.host.name is defined %} ServerName {{ site.host.name }} + {%- endif %} {%- if site.host.aliases is defined %} ServerAlias {{ site.host.aliases|join(' ') }} {%- endif %}