Skip to content

Commit

Permalink
Adjusting http2 syntax for versions 1.25+
Browse files Browse the repository at this point in the history
  • Loading branch information
solidsnake1298 committed Sep 6, 2024
1 parent c993a81 commit 345e667
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions docs/general/networking/nginx.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,14 @@ server {
}
server {
# Nginx versions prior to 1.25
listen 443 ssl http2;
listen [::]:443 ssl http2;
# Nginx versions 1.25+
#listen 443 ssl;
#listen [::]:443 ssl;
#http2 on;
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 @@ -195,9 +201,15 @@ server {
}
server {
# Nginx versions prior to 1.25
listen 443 ssl http2;
listen [::]:443 ssl http2;
# Nginx versions 1.25+
#listen 443 ssl;
#listen [::]:443 ssl;
#http2 on;
server_name DOMAIN.TLD;
# You can specify multiple domain names if you want
#server_name jellyfin.local;
Expand Down

0 comments on commit 345e667

Please sign in to comment.