forked from FoundKeyGang/FoundKey
Modify ssl directive to 'ssl' for listen directive (#5237)
the "ssl" directive is deprecated. http://nginx.org/en/docs/http/ngx_http_ssl_module.html#ssl
This commit is contained in:
parent
3a17ff0983
commit
56d2a5d5d3
1 changed files with 2 additions and 3 deletions
|
@ -25,10 +25,9 @@ server {
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 443 http2;
|
listen 443 ssl http2;
|
||||||
listen [::]:443 http2;
|
listen [::]:443 ssl http2;
|
||||||
server_name example.tld;
|
server_name example.tld;
|
||||||
ssl on;
|
|
||||||
ssl_session_cache shared:ssl_session_cache:10m;
|
ssl_session_cache shared:ssl_session_cache:10m;
|
||||||
|
|
||||||
# To use Let's Encrypt certificate
|
# To use Let's Encrypt certificate
|
||||||
|
|
Loading…
Reference in a new issue