mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-12-23 21:03:09 +02:00
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 {
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue