added h2 window size

This commit is contained in:
-Denux 2023-01-16 17:05:40 +01:00
parent 39d12e8766
commit 04466f0c42
No known key found for this signature in database
GPG key ID: 79531CEFB76EC104

View file

@ -55,6 +55,9 @@ Add this as a new Apache site config:
# Enable h2, h2c and http1.1
Protocols h2 h2c http/1.1
#Solves slow upload speeds caused by http2
H2WindowSize 1048576
# SSL
SSLEngine on
Include /etc/letsencrypt/options-ssl-apache.conf
@ -256,6 +259,9 @@ server {
listen 443 ssl http2;
listen [::]:443 ssl http2; # comment to disable IPv6
#Solves slow upload speeds caused by http2
http2_body_preread_size 1048576;
server_name <your-nc-domain>;
location / {