From 56d2a5d5d38a51babdeb4d8748b23deb6c2ea4ff Mon Sep 17 00:00:00 2001 From: Takeshi Umeda Date: Thu, 1 Aug 2019 19:12:32 +0900 Subject: [PATCH] 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 --- docs/examples/misskey.nginx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/docs/examples/misskey.nginx b/docs/examples/misskey.nginx index 2bc92fa49..fa6657e1c 100644 --- a/docs/examples/misskey.nginx +++ b/docs/examples/misskey.nginx @@ -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