1 Star 0 Fork 0

黄家垚 / letsautoencrypt

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
https-acme.conf 936 Bytes
一键复制 编辑 原始数据 按行查看 历史
黄家垚 提交于 2018-09-16 03:06 . enable TLSv1.3 by default
listen 443 ssl http2;
listen [::]:443 ssl http2;
ssl_session_cache shared:SSL:10m;
ssl_session_timeout 5m;
ssl_protocols TLSv1.1 TLSv1.2 TLSv1.3;
ssl_ciphers HIGH+ECDHE:!aNULL:!MD5:!RC4;
ssl_prefer_server_ciphers on;
ssl_stapling on;
ssl_stapling_verify on;
ssl_trusted_certificate %DATA_DIR%/acme/%FIRST_DOMAIN%/fullchain.cer;
ssl_certificate %DATA_DIR%/acme/%FIRST_DOMAIN%/fullchain.cer;
ssl_certificate_key %DATA_DIR%/domain.key;
location ^~ /.well-known/acme-challenge/ {
alias %CHALLENGE_DIR%/.well-known/acme-challenge/;
try_files $uri =404;
}
## Uncomment this if you want enable HSTS, and force redirect http to https.
#location / {
# add_header Strict-Transport-Security "max-age=63072000; preload";
# add_header X-Frame-Options "DENY";
# if ( $scheme = http ) {
# rewrite ^(.*)$ https://$host$1 permanent;
# }
# try_files $uri $uri/ =404;
#}
Shell
1
https://gitee.com/jiayaohuang/letsautoencrypt.git
git@gitee.com:jiayaohuang/letsautoencrypt.git
jiayaohuang
letsautoencrypt
letsautoencrypt
master

搜索帮助