diff options
author | Christian Pointner <equinox@spreadspace.org> | 2019-10-13 17:29:11 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2019-10-13 17:29:11 +0200 |
commit | b523cf86c8cbedb43cf625a1a847ca828afd5fba (patch) | |
tree | fd48b4d7792ca75c31d197414ba8463e57cade1e /roles/nextcloud/templates/apache-site.conf.j2 | |
parent | nextcloud: fix systemd timer shuffling (diff) |
nextcloud basic installation is finally working properly
Diffstat (limited to 'roles/nextcloud/templates/apache-site.conf.j2')
-rw-r--r-- | roles/nextcloud/templates/apache-site.conf.j2 | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/roles/nextcloud/templates/apache-site.conf.j2 b/roles/nextcloud/templates/apache-site.conf.j2 new file mode 100644 index 00000000..457cdfd4 --- /dev/null +++ b/roles/nextcloud/templates/apache-site.conf.j2 @@ -0,0 +1,18 @@ +Include mods-available/socache_shmcb.load +Include mods-available/ssl.load +Include mods-available/ssl.conf + +<VirtualHost *:8443> + ServerAdmin webmaster@localhost + DocumentRoot /var/www/html + + UseCanonicalName Off + UseCanonicalPhysicalPort Off + + SSLEngine On + SSLCertificateFile /etc/apache2/tls/nextcloud.crt + SSLCertificateKeyFile /etc/apache2/tls/nextcloud.key + + ErrorLog ${APACHE_LOG_DIR}/error.log + CustomLog ${APACHE_LOG_DIR}/access.log combined +</VirtualHost> |