caddy-docker icon indicating copy to clipboard operation
caddy-docker copied to clipboard

Presence of index.html sort-of breaks "browse <dir>" without "root <dir>"

Open hartwork opened this issue 7 years ago • 0 comments

Hi!

I was just about reporting this as a bug to Caddy when I noticed that it only happens in context of this very Docker image. When playing with the browse command I noticed that this Caddyfile

0.0.0.0 {
    errors stdout
    browse /
}

is not supported, because root / or so is needed to not get index.html display instead.

I would propose to either consider dropping index.html here or to make it more shiny and include a note that it may be standing in your way with the browse command.

What do you think?

hartwork avatar Jul 01 '18 15:07 hartwork