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:
Takeshi Umeda 2019-08-01 19:12:32 +09:00 committed by syuilo
parent 3a17ff0983
commit 56d2a5d5d3

View file

@ -25,10 +25,9 @@ server {
}
server {
listen 443 http2;
listen [::]:443 http2;
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name example.tld;
ssl on;
ssl_session_cache shared:ssl_session_cache:10m;
# To use Let's Encrypt certificate