ServerAdmin email in httpd.conf

This commit is contained in:
Tobias Herre 2023-09-26 16:09:33 +02:00
parent 3f320b5cd1
commit c8a157ad49
1 changed files with 4 additions and 1 deletions

View File

@ -567,10 +567,13 @@ SSLRandomSeed connect builtin
DirectoryIndex index.html
</Directory>
<VirtualHost *:80>
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
</VirtualHost>