X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=playbooks%2Fdebian%2Froles%2Fadd-apache-vhost%2Ftemplates%2Fvhost.conf;h=3ca21deca5f58547cc4d07cb7a1d47aaecd2fe48;hb=f0661e4d80d614401d75e1a38eba3918315debdd;hp=2f3dd5b054efac6c798f6db48ce4c08ce47437e5;hpb=ee8aa3427d674d56e57c034f270388745ed72582;p=ansible.git diff --git a/playbooks/debian/roles/add-apache-vhost/templates/vhost.conf b/playbooks/debian/roles/add-apache-vhost/templates/vhost.conf index 2f3dd5b..3ca21de 100644 --- a/playbooks/debian/roles/add-apache-vhost/templates/vhost.conf +++ b/playbooks/debian/roles/add-apache-vhost/templates/vhost.conf @@ -1,18 +1,18 @@ - + ServerName {{ virtual_host }} Redirect permanent / https://{{ virtual_host }}/ ErrorLog /var/log/apache2/{{ virtual_host }}/error_log CustomLog /var/log/apache2/{{ virtual_host }}/access_log common - + ServerName www.{{ virtual_host }} Redirect permanent / https://{{ virtual_host }}/ ErrorLog /var/log/apache2/{{ virtual_host }}/error_log CustomLog /var/log/apache2/{{ virtual_host }}/access_log common - + ServerName {{ virtual_host }} DocumentRoot /home/phd/Internet/WWW/htdocs/{{ virtual_host }} @@ -88,7 +88,7 @@ BrowserMatch "MSIE [2-6]" \ BrowserMatch "MSIE [17-9]" ssl-unclean-shutdown - + ServerName www.{{ virtual_host }} Redirect permanent / https://{{ virtual_host }}/ ErrorLog /var/log/apache2/{{ virtual_host }}/error_log