Advertisement
Guest User

Untitled

a guest
Feb 11th, 2020
125
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <VirtualHost *:443>
  2.  
  3. ServerName transfer.####
  4. ServerAlias nextcloud.#### nextcloud01.####
  5. ServerAdmin webmaster@localhost
  6. DocumentRoot /var/www/nextcloud
  7. <IfModule mod_headers.c>
  8. Header always set Strict-Transport-Security "max-age=15552000; includeSubDomains"
  9. </IfModule>
  10.  
  11. SSLEngine on
  12.  
  13. <Directory "/var/www/nextcloud/">
  14. Require all granted
  15. AllowOverride All
  16. Options FollowSymLinks MultiViews
  17. </Directory>
  18.  
  19.  
  20. ErrorLog ${APACHE_LOG_DIR}/error_nextcloud.log
  21. CustomLog ${APACHE_LOG_DIR}/access_nextcloud.log combined
  22.  
  23.  
  24. SSLCertificateFile /etc/letsencrypt/live/transfer.####/fullchain.pem
  25. SSLCertificateKeyFile /etc/letsencrypt/live/transfer.####/privkey.pem
  26. Include /etc/letsencrypt/options-ssl-apache.conf
  27. </VirtualHost>
Advertisement
RAW Paste Data Copied
Advertisement