1. The problem I’m having:
I would like to add timeout to my Caddyfile, I have long running processes that might take up to 15 mins
2.
This is my current Caddyfile
{
http_port 80
https_port 443
}
madiba-app.germanywestcentral.azurecontainer.io {
reverse_proxy /api/* /auth/* {
to https://madibapp.germanywestcentral.azurecontainer.io
transport http {
read_buffer 8192
timeouts {
read_body 25m
read_header 25m
write_header 25m
}
}
}
reverse_proxy /* {
to localhost:3000
transport http {
read_buffer 8192
}
}
}
However it doesn’'t seem to be working, what am i doing wrong?
3. Caddy version:
I am running Caddy: 2.6 on a docker container
4. How I installed and ran Caddy:
Im using a yaml file to create Caddy as a sidecar container with my app
a. System environment:
Docker Container Instances