summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakeshi Umeda <noel.yoshiba@gmail.com>2019-08-01 19:12:32 +0900
committersyuilo <Syuilotan@yahoo.co.jp>2019-08-01 19:12:32 +0900
commit56d2a5d5d38a51babdeb4d8748b23deb6c2ea4ff (patch)
tree7c1bf2afa7bb74bfd7af2addc83a836612e0f50b
parent11.27.1 (diff)
downloadsharkey-56d2a5d5d38a51babdeb4d8748b23deb6c2ea4ff.tar.gz
sharkey-56d2a5d5d38a51babdeb4d8748b23deb6c2ea4ff.tar.bz2
sharkey-56d2a5d5d38a51babdeb4d8748b23deb6c2ea4ff.zip
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
-rw-r--r--docs/examples/misskey.nginx5
1 files changed, 2 insertions, 3 deletions
diff --git a/docs/examples/misskey.nginx b/docs/examples/misskey.nginx
index 2bc92fa492..fa6657e1c4 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