-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cannot get it to work #1
Comments
I have now moved the theme repo outside the fileserver’s root (to /var/www/caddy-browse-template) and tried changing the Caddyfile to
In Firefox this gives me a broken styling and clicking on any directory gives an error message that the page isn’t available. Looking at the content of template.html I see links like In Chromium it still looks the same as before, with the bright background… |
Another attempt now was
while moving the whole content of static/ plus template.html inside /var/www/html. Firefox now: And after clicking on for any of the directories: |
Hi, |
This doesn't make a difference, unfortunately. |
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:
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:
Your help will be much appreciated.
The text was updated successfully, but these errors were encountered: