Advertisement
Guest User

domain.com.conf-AFTER-CERTBOT

a guest
Oct 14th, 2022
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.59 KB | None | 0 0
  1. <IfModule mod_ssl.c>
  2. <VirtualHost *:9010>
  3. ServerAdmin [email protected]
  4. ServerName subdomain.domain.com
  5. DocumentRoot /var/www/html/subdomain.domain.com/
  6. ErrorLog ${APACHE_LOG_DIR}/error.log
  7. CustomLog ${APACHE_LOG_DIR}/access.log combined
  8. Redirect permanent / https://subdomain.domain.com
  9.  
  10.  
  11. SSLCertificateFile /etc/letsencrypt/live/subdomain.domain.com/fullchain.pem
  12. SSLCertificateKeyFile /etc/letsencrypt/live/subdomain.domain.com/privkey.pem
  13. Include /etc/letsencrypt/options-ssl-apache.conf
  14. </VirtualHost>
  15. </IfModule>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement