Skip to content
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

using the file ext caddyfile for a config file does not work #6355

Closed
jrouzierinverse opened this issue May 31, 2024 · 1 comment · Fixed by #6356
Closed

using the file ext caddyfile for a config file does not work #6355

jrouzierinverse opened this issue May 31, 2024 · 1 comment · Fixed by #6356
Labels
bug 🐞 Something isn't working

Comments

@jrouzierinverse
Copy link

./caddy run  -c test.caddyfile
2024/05/31 14:25:55.237 INFO    using config from file  {"file": "test.caddyfile"}
Error: config is not valid JSON: invalid character ':' looking for beginning of value; did you mean to use a config adapter (the --adapter flag)?

test.caddyfile

:2015
respond "Hello, world!"
@jrouzierinverse
Copy link
Author

Thank You I tested this out and it works!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐞 Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants