mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2025-02-08 07:12:24 +00:00
Provide HTTP/3 config example
This commit is contained in:
parent
537d4d19c5
commit
16796c292f
1 changed files with 11 additions and 0 deletions
|
@ -45,6 +45,17 @@ server {
|
|||
listen [::]:443 ssl;
|
||||
http2 on;
|
||||
|
||||
# Optional HTTP/3 support
|
||||
# Note: requires you open UDP port 443
|
||||
#
|
||||
# listen 443 quic reuseport;
|
||||
# listen [::]:443 quic reuseport;
|
||||
# http3 on;
|
||||
# quic_retry on;
|
||||
# ssl_early_data on;
|
||||
# quic_gso on;
|
||||
# add_header Alt-Svc 'h3=":443"; ma=86400';
|
||||
|
||||
ssl_session_timeout 1d;
|
||||
ssl_session_cache shared:MozSSL:10m; # about 40000 sessions
|
||||
ssl_session_tickets off;
|
||||
|
|
Loading…
Reference in a new issue