I have an Express app server that responds with a chunked response (Transfer-Encoding: chunked
). When I run that behind Caddy I don’t receive a chunked response but simply a response with neither the Transfer-Encoding: chunked
not a Content-length
header so that the browser offers me download the response as a file.
This is my Caddy config:
local.test.mydomain.eu:8080 {
tls …/tls_config/local.test.mydomain.eu.full.crt …/tls_config/local.test.mydomain.eu.key
gzip
proxy / localhost:3000 {
transparent
except /assets /engines-dist
}
rewrite /mweb {
r (.*)
to {1}
}
root dist/
}
Shouldn’t Caddy respond with a chunked response transparently when the upstream server responds with one?