Slow file upload over HTTPS


(Valentin Denisenkov) #1

Hello, guys!

We are using Caddy as a proxy for storage server (Minio) and experiencing some strange behaviour.
One of the clients (ReactJS web app) have very slow upload speed on PUT requests.
Caddy config is very basic:

storage.example.com {
    tls name@example.com
    gzip
    errors stdout
    proxy / storage:9000 {
        transparent
    }
}

(we also tested the default Caddy config from Minio docs but it changed nothing)

your.public.com

    proxy / localhost:9000 {
        header_upstream X-Forwarded-Proto {scheme}
        header_upstream X-Forwarded-Host {host}
        header_upstream Host {host}
        health_check /minio/health/ready
    }

Other clients have no problems with similar requests to the same host.
Any ideas what might be the problem?