Skip to content

Commit a629236

Browse files
committed
Use the new form of skip_log.
1 parent 61196c9 commit a629236

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ label section in the docker-compose.yml:
174174
caddy_1: www.example.com
175175
caddy_1.tls.dns: cloudflare {env.CF_API_KEY}
176176
caddy_1.import: robots
177-
caddy_1.skip_log: /health
177+
caddy_1.log_skip: /health
178178
caddy_1.reverse_proxy: "unix//run/containers/example-www.sock"
179179
```
180180

caddy/config/Caddyfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@
8989

9090
{env.CADDY_TAILNET_HOST} {
9191
import defaulthdr
92-
skip_log /health
92+
log_skip /health
9393
handle /health {
9494
respond "{\"status\":\"up\"}"
9595
}

gitea/docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ services:
2121
labels:
2222
caddy: gitea.example.org
2323
caddy.import: defaulthdr
24-
caddy.skip_log: /healthcheck
24+
caddy.log_skip: /healthcheck
2525
caddy.reverse_proxy: "unix//run/containers/gitea.sock"
2626
networks:
2727
default:

0 commit comments

Comments
 (0)