1. Caddy version (caddy version
):
v2.4.4
2. How I run Caddy:
With the help of Caddyfile
a. System environment:
Ubuntu 20 , x86_64
b. Command:
caddy start
c. My complete Caddyfile or JSON config:
subdomain.domain.xyz {
reverse_proxy 127.0.0.1:8096
}
3. The problem I’m having:
Firstly Caddy is working very slow . For example , if i directly visit the original URL , it loads the page very fast & while accessing reverse proxied site with caddy ( subdomain.domain.xyz ) , it loads the page quite slower . Not just this , half of the times the page doesn’t even open &
continuously outputs error shown below
4. Error messages and/or full log output:
2021/09/02 06:47:33.112 ERROR http.handlers.reverse_proxy aborting with incomplete response {"error": "client disconnected"} 2021/09/02 06:47:33.112 ERROR http.handlers.reverse_proxy aborting with incomplete response {"error": "client disconnected"}
2021/09/02 06:47:33.195 ERROR http.handlers.reverse_proxy aborting with incomplete response {"error": "context canceled"}
2021/09/02 06:47:33.292 ERROR http.handlers.reverse_proxy aborting with incomplete response {"error": "client disconnected"}
2021/09/02 06:47:33.444 ERROR http.handlers.reverse_proxy aborting with incomplete response {"error": "client disconnected"}
2021/09/02 06:47:33.445 ERROR http.handlers.reverse_proxy aborting with incomplete response {"error": "client disconnected"}
2021/09/02 06:47:33.546 ERROR http.handlers.reverse_proxy aborting with incomplete response {"error": "client disconnected"}
2021/09/02 06:47:33.555 ERROR http.handlers.reverse_proxy aborting with incomplete response {"error": "client disconnected"}