Browse Source

TLS v1.2 only

zapashcanon 3 weeks ago
parent
commit
4fc2f36f70
Signed by: zapashcanon <leo@ndrs.fr> GPG Key ID: 8981C3C62D1D28F1
1 changed files with 1 additions and 2 deletions
  1. 1
    2
      www.zapashcanon.fr.conf

+ 1
- 2
www.zapashcanon.fr.conf View File

@@ -9,7 +9,6 @@ Define error_log_file ${log_file}.error.log
9 9
 Define access_log_file ${log_file}.access.log
10 10
 Define doc_root /var/www/zapashcanon.fr/www/web
11 11
 
12
-<IfModule mod_ssl.c>
13 12
 <VirtualHost *:443>
14 13
 
15 14
   ServerName ${server_name}
@@ -31,10 +30,10 @@ Define doc_root /var/www/zapashcanon.fr/www/web
31 30
   CustomLog ${access_log_file} combined
32 31
 
33 32
   Protocols h2 http/1.1
33
+  SSLProtocol -all +TLSv1.2
34 34
 
35 35
   SSLCertificateFile ${cert_dir}/${cert_name}/fullchain.pem
36 36
   SSLCertificateKeyFile ${cert_dir}/${cert_name}/privkey.pem
37 37
   Include /etc/letsencrypt/options-ssl-apache.conf
38 38
 
39 39
 </VirtualHost>
40
-</IfModule>

Loading…
Cancel
Save