Merge pull request #1776 from DenuxPlays/denux/reverse_proxy_improvement

Prevent slow upload speeds (Reverse Proxy documentation)
This commit is contained in:
Simon L 2023-01-16 18:08:46 +01:00 committed by GitHub
commit 912dfdb982
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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 / {