소스 검색

don't enable HSTS when using self-signed SSL. otherwise browsers can't access site at all.

Thomas Buck 2 년 전
부모
커밋
1d78b79f64
1개의 변경된 파일0개의 추가작업 그리고 2개의 파일을 삭제
  1. 0
    2
      roles/sslselfsigned/templates/etc_apache2_conf-available_ssl.conf.j2

+ 0
- 2
roles/sslselfsigned/templates/etc_apache2_conf-available_ssl.conf.j2 파일 보기

@@ -10,5 +10,3 @@ SSLCertificateKeyFile	/etc/letsencrypt/live/{{ domain }}/privkey.pem
10 10
 SSLCertificateFile	/etc/letsencrypt/live/{{ domain }}/fullchain.pem
11 11
 
12 12
 SSLCipherSuite ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-DSS-AES128-GCM-SHA256:kEDH+AESGCM:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA:ECDHE-ECDSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA:DHE-DSS-AES128-SHA256:DHE-RSA-AES256-SHA256:DHE-DSS-AES256-SHA:DHE-RSA-AES256-SHA:!aNULL:!eNULL:!EXPORT:!DES:!RC4:!3DES:!MD5:!PSK
13
-
14
-Header add Strict-Transport-Security "max-age=15768000; includeSubdomains"

Loading…
취소
저장