Commit bcc4a17b authored by Chris Croome's avatar Chris Croome

vim modelines

parent 42fe78e4
Pipeline #5347 passed with stage
in 25 seconds
......@@ -108,7 +108,7 @@
- name: Apache Collabora VirtualHost in place
template:
src: templates/collabora.conf
src: templates/collabora.conf.j2
dest: /etc/apache2/sites-available/collabora.conf
register: apache_collabora
......
# Ansible provisioned
<VirtualHost *:80>
ServerName {{ common_name }}
{% if subject_alt_names %}
{% for alias in subject_alt_names %}{% if alias != common_name %}
ServerAlias {{ alias }}
{% endif %}{% endfor %}
{% endif %}
<IfModule mpm_itk_module>
AssignUserID www-data www-data
</IfModule>
ServerAdmin root@{{ hostname }}
Include /etc/apache2/conf-available/le.conf
Redirect / https://{{ common_name }}/
</VirtualHost>
# https://nextcloud.com/collaboraonline/
<IfModule mod_ssl.c>
<VirtualHost *:443>
......@@ -49,4 +66,4 @@
</VirtualHost>
</IfModule>
# vim: set ft=apache:
# Ansible provisioned
# The default virtual host for port 80
<VirtualHost *:80>
ServerName {{ common_name }}
......@@ -46,3 +47,4 @@
</Directory>
</VirtualHost>
</IfModule>
# vim: set ft=apache:
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment