Skip to content

Commit

Permalink
Adding HTTP3/QUIC options
Browse files Browse the repository at this point in the history
  • Loading branch information
solidsnake1298 committed Sep 6, 2024
1 parent 345e667 commit fbeb386
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion docs/general/networking/nginx.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,15 @@ server {
# Nginx versions 1.25+
#listen 443 ssl;
#listen [::]:443 ssl;
#http2 on;
#http2 on;
## QUIC/HTTP3, requires Nginx 1.25+ w/http3 module
## Can be used alongside http2 and http1.1
#listen 443 quic reuseport;
#listen [::]:443 quic reuseport;
## required for browsers to direct them to quic port
#add_header Alt-Svc 'h3=":443"; ma=86400';
server_name jellyfin.DOMAIN.TLD;
## The default `client_max_body_size` is 1M, this might not be enough for some posters, etc.
Expand Down Expand Up @@ -210,6 +218,13 @@ server {
#listen [::]:443 ssl;
#http2 on;
## QUIC/HTTP3, requires Nginx 1.25+ w/http3 module
## Can be used alongside http2 and http1.1
#listen 443 quic reuseport;
#listen [::]:443 quic reuseport;
## required for browsers to direct them to quic port
#add_header Alt-Svc 'h3=":443"; ma=86400';
server_name DOMAIN.TLD;
# You can specify multiple domain names if you want
#server_name jellyfin.local;
Expand Down

0 comments on commit fbeb386

Please sign in to comment.