Ansible roles
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
697 B

<Directory /var/www/html/default>
Require all granted
AllowOverride None
Options None
</Directory>
<Directory /var/www/html/default/cgi-bin>
Require all granted
AllowOverride None
SetHandler cgi-script
Options ExecCGI
</Directory>
<VirtualHost *:{{ httpd_port | default('80') }}>
ServerName {{ httpd_default_vhost | default(inventory_hostname) }}
DocumentRoot /var/www/html/default
Include ansible_conf.d/common_letsencrypt.inc
</VirtualHost>
<IfModule mod_ssl.c>
<VirtualHost *:{{ httpd_ssl_port | default('443') }}>
ServerName {{ httpd_default_vhost | default(inventory_hostname) }}
SSLEngine On
DocumentRoot /var/www/html/default
</VirtualHost>
</IfModule>