X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=playbooks%2Fdebian%2Froles%2Fadd-apache-vhost%2Ftemplates%2Fvhost.conf;h=3ca21deca5f58547cc4d07cb7a1d47aaecd2fe48;hb=6e7c74da65592117ebe1d3b69a609bec79e83077;hp=2f3dd5b054efac6c798f6db48ce4c08ce47437e5;hpb=7a883f9218d533024a220b4712e46847ee953ac9;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