forked from Netz39_Admin/netz39-infra-ansible
Add IPv6 addresses to HTTP virtual hosts
This commit is contained in:
parent
55eaa92f6e
commit
28a372eaa2
2 changed files with 4 additions and 4 deletions
|
@ -1,4 +1,4 @@
|
||||||
<VirtualHost {{ ansible_default_ipv4.address }}:80>
|
<VirtualHost {{ ansible_default_ipv4.address }}:80 [{{ ansible_default_ipv6.address }}]:80>
|
||||||
ServerAdmin {{ server_admin }}
|
ServerAdmin {{ server_admin }}
|
||||||
ServerName {{ site_name }}
|
ServerName {{ site_name }}
|
||||||
ServerAlias {{ site_name }}
|
ServerAlias {{ site_name }}
|
||||||
|
@ -14,7 +14,7 @@
|
||||||
</ifmodule>
|
</ifmodule>
|
||||||
</VirtualHost>
|
</VirtualHost>
|
||||||
|
|
||||||
<VirtualHost {{ ansible_default_ipv4.address }}:443>
|
<VirtualHost {{ ansible_default_ipv4.address }}:443 [{{ ansible_default_ipv6.address }}]:80>
|
||||||
ServerAdmin {{ server_admin }}
|
ServerAdmin {{ server_admin }}
|
||||||
ServerName {{ site_name }}
|
ServerName {{ site_name }}
|
||||||
ServerAlias {{ site_name }}
|
ServerAlias {{ site_name }}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
<VirtualHost {{ ansible_default_ipv4.address }}:80>
|
<VirtualHost {{ ansible_default_ipv4.address }}:80 [{{ ansible_default_ipv6.address }}]:80>
|
||||||
ServerAdmin {{ server_admin }}
|
ServerAdmin {{ server_admin }}
|
||||||
ServerName {{ site_name }}
|
ServerName {{ site_name }}
|
||||||
ServerAlias {{ site_name }}
|
ServerAlias {{ site_name }}
|
||||||
|
@ -14,7 +14,7 @@
|
||||||
</ifmodule>
|
</ifmodule>
|
||||||
</VirtualHost>
|
</VirtualHost>
|
||||||
|
|
||||||
<VirtualHost {{ ansible_default_ipv4.address }}:443>
|
<VirtualHost {{ ansible_default_ipv4.address }}:443 [{{ ansible_default_ipv6.address }}]:443>
|
||||||
ServerAdmin {{ server_admin }}
|
ServerAdmin {{ server_admin }}
|
||||||
ServerName {{ site_name }}
|
ServerName {{ site_name }}
|
||||||
ServerAlias {{ site_name }}
|
ServerAlias {{ site_name }}
|
||||||
|
|
Loading…
Reference in a new issue