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

12 lines
313 B
ApacheConf

# Configuration for {{ nextcloud_url }}
# vim:ft=apache:
# Website configuration
<VirtualHost *:80>
ServerName {{ nextcloud_url }}
# Uncomment me for HTTPS redirection
# Leaving it off for now for testing
#Redirect permanent / https://{{ nextcloud_url }}
DocumentRoot {{ nextcloud_webroot }}
</VirtualHost>