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 DirectoryIndex index.html
</Directory> </Directory>
<VirtualHost *:80> <VirtualHost *:80>
ServerAdmin webmaster@dummy-host.example.com {{#vars.apache.admin_email}}
ServerAdmin {{.}}
{{/vars.apache.admin_email}}
DocumentRoot "{{vars.apache.default_html_dir}}" DocumentRoot "{{vars.apache.default_html_dir}}"
ErrorLog "{{vars.apache.log_dir}}/default-error.log" ErrorLog "{{vars.apache.log_dir}}/default-error.log"
CustomLog "{{vars.apache.log_dir}}/default-access.log" common CustomLog "{{vars.apache.log_dir}}/default-access.log" common
DirectoryIndex index.php index.html
</VirtualHost> </VirtualHost>