mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-10-09 15:06:52 +08:00
added h2 window size
This commit is contained in:
parent
39d12e8766
commit
04466f0c42
1 changed files with 11 additions and 5 deletions
|
@ -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 / {
|
||||
|
|
Loading…
Add table
Reference in a new issue