This repository was archived by the owner on Aug 19, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
Parse error: invalid root directory #16
Copy link
Copy link
Open
Description
Something is going wrong and I seem to not get down to the issue.
I tried the following configs:
:8080 {
root /etc/source/files
gzip
basicauth / user {$BASICAUTH_PASSWORD}
search
log stdout
errors stdout
}
:8080 {
root /etc/source/files
gzip
basicauth / user {$BASICAUTH_PASSWORD}
search ^/
log stdout
errors stdout
}
:8080 {
root /etc/source/files
gzip
basicauth / user {$BASICAUTH_PASSWORD}
search /
log stdout
errors stdout
}
:8080 {
root /etc/source/files
gzip
basicauth / user {$BASICAUTH_PASSWORD}
search / /search
log stdout
errors stdout
}
:8080 {
root /etc/source/files
gzip
basicauth / user {$BASICAUTH_PASSWORD}
search / {
}
log stdout
errors stdout
}
It always ends the same:
Parse error: [search]: `invalid root directory`
Caddy has the latest build from the download page.
Thanks for any pointers.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels