Caddy does not start

Hello!

I am using caddy for the first time. Also I am new in development.

So, I am trying to use caddy, but the caddy start fails. I did not set the server and I already tried to set it, remove it and remove caddy to install it again.

I don’t understand what it is happening. Can someone help me?

1. Output of caddy version:

2. How I run Caddy:

I install it and it should be running.

a. System environment:

b. Command:

Paste command here.

c. Service/unit/compose file:

Paste full file contents here.
Make sure backticks stay on their own lines,
and the post looks nice in the preview pane. -->

d. My complete Caddy config:

Paste your config here, replacing this text.
Use `caddy fmt` to make it readable.
DO NOT REDACT anything except credentials.
LEAVE DOMAIN NAMES INTACT.
Make sure the backticks stay on their own lines.

3. The problem I’m having:

4. Error messages and/or full log output:

Paste logs/commands/output here.
USE THE PREVIEW PANE TO MAKE SURE IT LOOKS NICELY FORMATTED.

5. What I already tried:

6. Links to relevant resources:

The error message is pretty self explanatory, you need to have a config file at /etc/caddy/Caddyfile.

Check documents here: The Caddyfile — Caddy Documentation

1 Like

This topic was automatically closed after 30 days. New replies are no longer allowed.