mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-21 17:37:29 -07: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
c77a4eb8ad
commit
a19c25473c
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