ansible/roles/nextcloud/templates/apache2-vhost.conf

12 lines
313 B
Plaintext
Raw Normal View History

2020-02-05 22:09:35 -06:00
# Configuration for {{ nextcloud_url }}
2020-02-05 21:54:30 -06:00
# vim:ft=apache:
2020-02-05 22:09:35 -06:00
# Website configuration
2020-02-05 21:54:30 -06:00
<VirtualHost *:80>
2020-02-05 22:09:35 -06:00
ServerName {{ nextcloud_url }}
2020-02-05 22:28:03 -06:00
# Uncomment me for HTTPS redirection
# Leaving it off for now for testing
#Redirect permanent / https://{{ nextcloud_url }}
2020-02-05 22:09:35 -06:00
DocumentRoot {{ nextcloud_webroot }}
</VirtualHost>