mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-01-06 05:51:49 +08:00
Merge pull request #1776 from DenuxPlays/denux/reverse_proxy_improvement
Prevent slow upload speeds (Reverse Proxy documentation)
This commit is contained in:
commit
912dfdb982
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…
Reference in a new issue