Traefik access log drops the request path, where a hook's secret sits

This commit is contained in:
2026-10-28 09:10:39 +01:00
parent 439daf5655
commit a6487aeba9
2 changed files with 5 additions and 0 deletions
+1
View File
@@ -33,6 +33,7 @@ services:
- --entrypoints.https.address=:443
- --accesslog
- --accesslog.fields.queryparameters.defaultmode=drop
- --accesslog.fields.names.RequestPath=drop
- --log
- --log.level=DEBUG
- --api
+4
View File
@@ -71,6 +71,10 @@ services:
# Without query strings: the live socket and a worker's attach carry their
# token there, and Traefik can drop query values but not mask them
- --accesslog.fields.queryparameters.defaultmode=drop
# Nor the request path: a webhook's secret is its last segment, and the
# path can be dropped but not masked in part. The engine's own request
# log keeps the path, with the secret masked.
- --accesslog.fields.names.RequestPath=drop
# Enable the Traefik log, for configurations and errors
- --log
# Enable the Dashboard and API