Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <VirtualHost *:443>
- ServerName transfer.####
- ServerAlias nextcloud.#### nextcloud01.####
- ServerAdmin webmaster@localhost
- DocumentRoot /var/www/nextcloud
- <IfModule mod_headers.c>
- Header always set Strict-Transport-Security "max-age=15552000; includeSubDomains"
- </IfModule>
- SSLEngine on
- <Directory "/var/www/nextcloud/">
- Require all granted
- AllowOverride All
- Options FollowSymLinks MultiViews
- </Directory>
- ErrorLog ${APACHE_LOG_DIR}/error_nextcloud.log
- CustomLog ${APACHE_LOG_DIR}/access_nextcloud.log combined
- SSLCertificateFile /etc/letsencrypt/live/transfer.####/fullchain.pem
- SSLCertificateKeyFile /etc/letsencrypt/live/transfer.####/privkey.pem
- Include /etc/letsencrypt/options-ssl-apache.conf
- </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement