summaryrefslogtreecommitdiff
path: root/roles/nextcloud/templates/apache-site.conf.j2
blob: 457cdfd491d7f3249abca61ba53d5c80bc9b5c33 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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>