diff options
author | Christian Pointner <equinox@spreadspace.org> | 2024-08-30 00:40:32 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2024-08-30 00:40:32 +0200 |
commit | 19f7bc897726c9a2e74ef8e8b7d927c829a109f5 (patch) | |
tree | a97e8001ceb44c1287f4c987b2bc8b7a688eadfe /roles/apps/nextcloud/instance/templates/apache-site.conf.j2 | |
parent | update promethues components (diff) |
nextcloud: make use of generic publish
Diffstat (limited to 'roles/apps/nextcloud/instance/templates/apache-site.conf.j2')
-rw-r--r-- | roles/apps/nextcloud/instance/templates/apache-site.conf.j2 | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/roles/apps/nextcloud/instance/templates/apache-site.conf.j2 b/roles/apps/nextcloud/instance/templates/apache-site.conf.j2 index a52a7fc5..8df06113 100644 --- a/roles/apps/nextcloud/instance/templates/apache-site.conf.j2 +++ b/roles/apps/nextcloud/instance/templates/apache-site.conf.j2 @@ -1,3 +1,7 @@ +IncludeOptional mods-available/socache_shmcb.load +IncludeOptional mods-available/ssl.load +IncludeOptional mods-available/ssl.conf + <VirtualHost *:8080> ServerAdmin webmaster@localhost DocumentRoot /var/www/html @@ -5,6 +9,12 @@ UseCanonicalName Off UseCanonicalPhysicalPort Off + ServerName nextcloud-{{ nextcloud_instance }}.{{ inventory_hostname }} + SSLEngine on + SSLCertificateFile "/etc/ssl/publish/cert.pem" + SSLCertificateKeyFile "/etc/ssl/publish/key.pem" + SSLProtocol TLSv1.3 + ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined </VirtualHost> |