Skip to content

Commit

Permalink
examples: Improve HTTP/2 performance with Nginx
Browse files Browse the repository at this point in the history
Closes #1106
  • Loading branch information
Acconut authored Jan 28, 2025
1 parent 7178845 commit da8db10
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions examples/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ server {
ssl_session_cache shared:SSL:5m;
ssl_session_tickets off;

# Tune settings for fast HTTP/2 uploads
# https://blog.cloudflare.com/delivering-http-2-upload-speed-improvements/
http2_body_preread_size 512k;

server_name tusd.tusdemo.net;

# certbot will place the files required for the HTTP challenge in the
Expand Down

0 comments on commit da8db10

Please sign in to comment.