Advertisement
Guest User

Untitled

a guest
Nov 6th, 2016
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. <IfModule mod_ssl.c>
  2. <VirtualHost *:443>
  3. ServerAdmin webmaster@localhost
  4. DocumentRoot /var/www/html
  5. ServerName <removed>.ddns.net
  6.  
  7. ErrorLog ${APACHE_LOG_DIR}/error.log
  8. CustomLog ${APACHE_LOG_DIR}/access.log combined
  9.  
  10. #RewriteEngine on
  11.  
  12. SSLCertificateFile /etc/letsencrypt/live/<removed>.ddns.net/fullchain.pem
  13. SSLCertificateKeyFile /etc/letsencrypt/live/<removed>.ddns.net/privkey.pem
  14. Include /etc/letsencrypt/options-ssl-apache.conf
  15.  
  16. Header always set Strict-Transport-Security "max-age=15768000; includeSubDomains; preload"
  17.  
  18. </VirtualHost>
  19.  
  20. </IfModule>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement