Caddy reverse proxy upload failure

I am running my caddy with podman rootless on vm1. My paperless runs with docker on vm 2. According to paperless logs, if i try uploading documents nothing reaches the paperless container. This is my current caddyfile with the part for this. can anyone help me, what to do in order to fix this issue. Login in the web UI and everything else works just fine:
caddyfile:
{
request_body {
max_size 500gb
}
reverse_proxy http://:8000 {
request_buffers 0
flush_interval -1
header_up Host {http.reverse_proxy.upstream.hostport}
header_down Referrer-Policy “strict-origin-when-cross-origin”
}
}

Please refer to the upstream address format:

If possible, enable debug and share the debug log.

This isn’t a valid Caddyfile. If you’ve stripped parts of it out, then there’s not much I can say based on what you’ve shared here.

Hi,

i just left out the following from the top:
{
debug
}
every other entry is specific for another domain. but I see i missed a part in it so here is the complete part for my paperless instance:
paperless.domain.com {
request_body {
max_size 500gb
}
reverse_proxy http://<ip of vm 2>:8000 {
request_buffers 0
flush_interval -1
header_up Host {http.reverse_proxy.upstream.hostport}
header_down Referrer-Policy “strict-origin-when-cross-origin”
}
}

Please share the debug log

I finally solved the problem, it was not related to caddy. But thanks four your quick response and help