Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <IfModule mod_ssl.c>
- <VirtualHost *:443>
- ServerAdmin webmaster@localhost
- DocumentRoot /var/www/html
- ServerName <removed>.ddns.net
- ErrorLog ${APACHE_LOG_DIR}/error.log
- CustomLog ${APACHE_LOG_DIR}/access.log combined
- #RewriteEngine on
- SSLCertificateFile /etc/letsencrypt/live/<removed>.ddns.net/fullchain.pem
- SSLCertificateKeyFile /etc/letsencrypt/live/<removed>.ddns.net/privkey.pem
- Include /etc/letsencrypt/options-ssl-apache.conf
- Header always set Strict-Transport-Security "max-age=15768000; includeSubDomains; preload"
- </VirtualHost>
- </IfModule>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement