I installed the WordPress along with Caddy using docker-compose on Ubuntu server. But got http 502 error when I enabled the "Cache Enabler" plugin. No issue with another cache plugin, WP Super Cache.
I found below logs in Caddy container.
{"level":"error","ts":1710649725.8919578,"logger":"http.handlers.reverse_proxy","msg":"aborting with incomplete response","upstream":"cloudking:80","duration":3.578969166,"request":{"remote_ip":"49.204.15.79","remote_port":"57056","client_ip":"49.204.15.79","proto":"HTTP/3.0","method":"GET","host":"cloudking.rocks","uri":"/wp-admin/js/chart.js","headers":{"Sec-Fetch-Mode":["no-cors"],"Sec-Fetch-Site":["same-origin"],"Accept-Encoding":["gzip, deflate, br"],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36"],"Referer":["https://cloudking.rocks/"],"X-Forwarded-For":["49.204.15.79"],"Sec-Ch-Ua":["\"Chromium\";v=\"122\", \"Not(A:Brand\";v=\"24\", \"Brave\";v=\"122\""],"Sec-Fetch-Dest":["script"],"Cookie":[],"Accept-Language":["en-US,en;q=0.6"],"Sec-Ch-Ua-Platform":["\"Windows\""],"X-Forwarded-Proto":["https"],"X-Forwarded-Host":["cloudking.rocks"],"Accept":["*/*"],"Traceparent":["00-546167686b20cfa39eb97f234baa4066-a7fa82efd74eb4af-01"],"Sec-Gpc":["1"],"Sec-Ch-Ua-Mobile":["?0"]},"tls":{"resumed":true,"version":772,"cipher_suite":4865,"proto":"h3","server_name":"cloudking.rocks"}},"error":"writing: H3_REQUEST_CANCELLED"}
{"level":"error","ts":1710649876.649931,"logger":"http.log.error","msg":"dial tcp 172.25.0.8:80: connect: connection refused","request":{"remote_ip":"49.204.15.79","remote_port":"57056","client_ip":"49.204.15.79","proto":"HTTP/3.0","method":"GET","host":"cloudking.rocks","uri":"/wp-admin/plugins.php?activate=true&plugin_status=all&paged=1&s=","headers":{"Sec-Fetch-User":["?1"],"Sec-Ch-Ua":["\"Chromium\";v=\"122\", \"Not(A:Brand\";v=\"24\", \"Brave\";v=\"122\""],"Accept-Encoding":["gzip, deflate, br"],"Upgrade-Insecure-Requests":["1"],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36"],"Accept":["text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8"],"Sec-Gpc":["1"],"Sec-Fetch-Mode":["navigate"],"Accept-Language":["en-US,en;q=0.6"],"Cookie":[],"Sec-Fetch-Dest":["document"],"Referer":["https://cloudking.rocks/"],"Sec-Fetch-Site":["same-origin"],"Sec-Ch-Ua-Mobile":["?0"],"Sec-Ch-Ua-Platform":["\"Windows\""]},"tls":{"resumed":true,"version":772,"cipher_suite":4865,"proto":"h3","server_name":"cloudking.rocks"}},"duration":0.319388478,"status":502,"err_id":"exhfkxn8m","err_trace":"reverseproxy.statusError (reverseproxy.go:1267)"}