Skip to content

cannot get it to work #1

@oberon-manjaro

Description

@oberon-manjaro

Sorry to ask for your help like this. Certainly it's just my lack of understanding that I can't seem to get this to work on my site. I would however love to use this beautiful dark theme and I'd be very grateful if you could give the necessary pointers.
My caddy version is 2.2.1 and I am using it simply to display a file tree in /var/www/html.
My /etc/caddy/Caddyfile currently looks like this:

my.domain
root * /var/www/html
file_server browse

I have now tried to simply clone your repo to /var/www/html and adjust the Caddyfile, but it seems I haven't figured out how to do that properly.
Using root * /var/www/html/caddy-browse-template of course just starts the file browser inside the cloned repo 😜 and pointing root to /var/www/html/caddy-browse-template/template.html fails to display anything.
This doesn't work either:

my.domain
{
    root /var/www/html/caddy-browse-template/static
    browse / /var/www/html/caddy-browse-template/template.html
}

Your help will be much appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions