Browse Source

fix apache conf

master
zapashcanon 2 years ago
parent
commit
18caabfdb8
Signed by: zapashcanon GPG Key ID: 8981C3C62D1D28F1
  1. 18
      www.zapashcanon.fr.conf

18
www.zapashcanon.fr.conf

@ -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}

Loading…
Cancel
Save