17 lines
565 B
Plaintext
17 lines
565 B
Plaintext
<VirtualHost *:{{ http_port }}>
|
|
ServerName {{ apache_servername }}
|
|
ServerAlias {{ apache_serveralias }}
|
|
ServerAlias {{ inventory_hostname }}
|
|
DocumentRoot {{ apache_documentroot }}
|
|
CustomLog {{ apache_accesslog }} combined
|
|
ErrorLog {{ apache_errorlog }}
|
|
<Directory />
|
|
Options none
|
|
Allowoverride none
|
|
Require all denied
|
|
</Directory>
|
|
|
|
<Directory {{ apache_documentroot }}>
|
|
Require all granted
|
|
</Directory>
|
|
</VirtualHost> |