Guest User

Untitled

a guest
Jun 20th, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.72 KB | None | 0 0
  1. <VirtualHost *:443>
  2. ServerName defaultserverssl
  3. DocumentRoot /var/www/html
  4. SecRuleEngine On
  5. SecAction id:1,phase:1,nolog,drop
  6. </VirtualHost>
  7.  
  8. <IfModule mod_ssl.c>
  9. <VirtualHost *:443>
  10. ServerName www1.example.com
  11. DocumentRoot /my/document/root
  12.  
  13. SSLCertificateFile /path/to/myfullchain.pem
  14. SSLCertificateKeyFile /path/to/myprivkey.pem
  15. Include /etc/letsencrypt/options-ssl-apache.conf
  16. </VirtualHost>
  17. </IfModule>
  18.  
  19. <IfModule mod_ssl.c>
  20. <VirtualHost *:443>
  21. ServerName www2.example.com
  22. DocumentRoot /my/document/root
  23.  
  24. SSLCertificateFile /path/to/myfullchain.pem
  25. SSLCertificateKeyFile /path/to/myprivkey.pem
  26. Include /etc/letsencrypt/options-ssl-apache.conf
  27. </VirtualHost>
  28. </IfModule>
Add Comment
Please, Sign In to add comment