1. Caddy version (caddy version
):
2.1.1
2. How I run Caddy:
in a FreeNAS jail
a. System environment:
FreeNAS 11.3U4.1
b. Command:
service caddy start
service caddy reload when changing the Caddyfile
c. Service/unit/compose file:
paste full file contents here
d. My complete Caddyfile or JSON config:
*:80 {
root * /usr/local/www/html
file_server
}
3. The problem I’m having:
I’m trying to get a basic web page to show up in my html folder called index.html
<html>
<head>
<title>
A Simple HTML Document
</title>
</head>
<body>
<p>This is a very simple HTML document</p>
<p>It only has two paragraphs</p>
</body>
</html>
4. Error messages and/or full log output:
5. What I already tried:
Caddyfile
:2020 {
respond "Hello, world!"
}
works
6. Links to relevant resources:
Can’t get started with v2