Skip to content

Commit 2bd7dbd

Browse files
committed
Resolve Caddy Issues
1 parent 36cb20f commit 2bd7dbd

2 files changed

Lines changed: 8 additions & 5 deletions

File tree

docker/caddy/Caddyfile

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,14 @@
1414
# Global Imports
1515
(all) {
1616
handle_errors {
17-
rewrite * /404.html
18-
file_server {
19-
status 404
20-
}
17+
respond "{err.status_code} {err.status_text}"
2118
}
19+
# handle_errors {
20+
# rewrite * /404.html
21+
# file_server {
22+
# status 404
23+
# }
24+
# }
2225
}
2326

2427
# Default options for internal facing sites

docker/docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ services:
5656
macvlan:
5757
ipv4_address: ${IP_UNBOUND}
5858
volumes:
59-
- "./unbound:/opt/unbound/etc/unbound:ro"
59+
- "./unbound:/opt/unbound/etc/unbound"
6060
restart: unless-stopped
6161

6262
caddy:

0 commit comments

Comments
 (0)