mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-08-06 08:36:55 +02:00
Update to 2021-12-01 19:13
This commit is contained in:
25
roles/httpd_front/templates/vhost_downtime.conf.j2
Normal file
25
roles/httpd_front/templates/vhost_downtime.conf.j2
Normal file
@@ -0,0 +1,25 @@
|
||||
<Directory /var/www/html/downtime>
|
||||
Require all granted
|
||||
AllowOverride None
|
||||
Options None
|
||||
</Directory>
|
||||
|
||||
<VirtualHost *:{{ httpd_port | default('80') }}>
|
||||
ServerName downtime.{{ ansible_domain }}
|
||||
DocumentRoot /var/www/html/downtime/
|
||||
ErrorDocument 404 /
|
||||
Include ansible_conf.d/common_env.inc
|
||||
#Include ansible_conf.d/common_letsencrypt.inc
|
||||
Include ansible_conf.d/common_force_ssl.inc
|
||||
</VirtualHost>
|
||||
<IfModule mod_ssl.c>
|
||||
<VirtualHost *:{{ httpd_ssl_port | default('443') }}>
|
||||
ServerName downtime.{{ ansible_domain }}
|
||||
SSLEngine on
|
||||
DocumentRoot /var/www/html/downtime/
|
||||
ErrorDocument 404 /
|
||||
Include ansible_conf.d/common_env.inc
|
||||
Include ansible_conf.d/common_filter.inc
|
||||
Include ansible_conf.d/common_perf.inc
|
||||
</VirtualHost>
|
||||
</IfModule>
|
Reference in New Issue
Block a user