|
|
@ -9,6 +9,24 @@ Define error_log_file ${log_file}.error.log |
|
|
|
Define access_log_file ${log_file}.access.log |
|
|
|
Define doc_root /var/www/${server_name}/ |
|
|
|
|
|
|
|
<VirtualHost *:443> |
|
|
|
|
|
|
|
ServerName zapashcanon.fr |
|
|
|
|
|
|
|
Redirect permanent / https://www.zapashcanon.fr/ |
|
|
|
|
|
|
|
ErrorLog ${error_log_file} |
|
|
|
CustomLog ${access_log_file} combined |
|
|
|
|
|
|
|
Protocols h2 http/1.1 |
|
|
|
SSLProtocol -all +TLSv1.2 |
|
|
|
|
|
|
|
SSLCertificateFile ${cert_dir}/${cert_name}/fullchain.pem |
|
|
|
SSLCertificateKeyFile ${cert_dir}/${cert_name}/privkey.pem |
|
|
|
Include /etc/letsencrypt/options-ssl-apache.conf |
|
|
|
|
|
|
|
</VirtualHost> |
|
|
|
|
|
|
|
<VirtualHost *:443> |
|
|
|
|
|
|
|
ServerName ${server_name} |
|
|
|