Keep query-string tokens out of the uvicorn, nginx and Traefik access logs

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013GAeg4Jo6xjZzjwy9QDWMQ
This commit is contained in:
2026-10-06 17:32:51 +02:00
co-authored by Claude Opus 5.5
parent 1090bcabfd
commit 71b0f986e9
5 changed files with 73 additions and 0 deletions
+1
View File
@@ -21,6 +21,7 @@ services:
- --entrypoints.http.address=:80
- --entrypoints.https.address=:443
- --accesslog
- --accesslog.fields.queryparameters.defaultmode=drop
- --log
- --log.level=DEBUG
- --api
+3
View File
@@ -57,6 +57,9 @@ services:
- --certificatesresolvers.le.acme.tlschallenge=true
# Enable the access log, with HTTP requests
- --accesslog
# 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
# Enable the Traefik log, for configurations and errors
- --log
# Enable the Dashboard and API