Hello,
1. My Caddy version (2.0 beta13
):
2. How I run Caddy:
caddy run --config /etc/caddy/Caddyfile --adapter caddyfile
a. System environment:
I run it in a container (docker) & through supervisord
d. My complete Caddyfile:
0.0.0.0:80 {
root * /srv/public/
try_files {path} /index.php/{path}?{query}
php_fastcgi 127.0.0.1:9000
}
3. The problem I’m having:
I get a blank page for every requests (static file like php ones and even them that should be a 404):
$ curl -v localhost/favicon.ico
* Trying ::1:80...
* TCP_NODELAY set
* Connected to localhost (::1) port 80 (#0)
> GET /favicon.ico HTTP/1.1
> Host: localhost
> User-Agent: curl/7.68.0
> Accept: */*
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 200 OK
< Server: Caddy
< Date: Sat, 08 Feb 2020 21:42:44 GMT
< Content-Length: 0
<
* Connection #0 to host localhost left intact
$ curl -v localhost/
* Trying ::1:80...
* TCP_NODELAY set
* Connected to localhost (::1) port 80 (#0)
> GET / HTTP/1.1
> Host: localhost
> User-Agent: curl/7.68.0
> Accept: */*
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 200 OK
< Server: Caddy
< Date: Sat, 08 Feb 2020 21:42:48 GMT
< Content-Length: 0
<
* Connection #0 to host localhost left intact
Any idea what is not correct in my config ?
Thank you