From c8a157ad49f9652be3d14707f7c6935e92678ab7 Mon Sep 17 00:00:00 2001 From: Tobias Herre Date: Tue, 26 Sep 2023 16:09:33 +0200 Subject: [PATCH] ServerAdmin email in httpd.conf --- templates/httpd.conf.mustache | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/templates/httpd.conf.mustache b/templates/httpd.conf.mustache index 6b89c1b..9076520 100644 --- a/templates/httpd.conf.mustache +++ b/templates/httpd.conf.mustache @@ -567,10 +567,13 @@ SSLRandomSeed connect builtin DirectoryIndex index.html - ServerAdmin webmaster@dummy-host.example.com +{{#vars.apache.admin_email}} + ServerAdmin {{.}} +{{/vars.apache.admin_email}} DocumentRoot "{{vars.apache.default_html_dir}}" ErrorLog "{{vars.apache.log_dir}}/default-error.log" CustomLog "{{vars.apache.log_dir}}/default-access.log" common + DirectoryIndex index.php index.html