Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <VirtualHost *:443>
- ServerName defaultserverssl
- DocumentRoot /var/www/html
- SecRuleEngine On
- SecAction id:1,phase:1,nolog,drop
- </VirtualHost>
- <IfModule mod_ssl.c>
- <VirtualHost *:443>
- ServerName www1.example.com
- DocumentRoot /my/document/root
- SSLCertificateFile /path/to/myfullchain.pem
- SSLCertificateKeyFile /path/to/myprivkey.pem
- Include /etc/letsencrypt/options-ssl-apache.conf
- </VirtualHost>
- </IfModule>
- <IfModule mod_ssl.c>
- <VirtualHost *:443>
- ServerName www2.example.com
- DocumentRoot /my/document/root
- SSLCertificateFile /path/to/myfullchain.pem
- SSLCertificateKeyFile /path/to/myprivkey.pem
- Include /etc/letsencrypt/options-ssl-apache.conf
- </VirtualHost>
- </IfModule>
Add Comment
Please, Sign In to add comment