Deploy: kamal-proxy keeps no request log (log driver none) #1
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
kroshtan/kroshtan-web!1
Loading…
Reference in a new issue
No description provided.
Delete branch "proxy-no-request-logs"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
kamal-proxy logs every request with the visitor's address (from X-Forwarded-For) and has no switch to leave it out. The shared proxy on git.kroshtan.com already runs with
--log-driver none, and unfret_backend's deploy.yml carries the same block (its #215). Kamal appliesproxy.runwhenever the proxy container is created, from whichever app runskamal proxy reboot, so without this here a reboot from this repo would turn request logging back on for every app.proxy.run.options.log-driver: noneproxy.run.log_max_size: "": drops Kamal's--log-opt max-size, which Docker refuses with thenonedriverkamal deploydoesn't recreate the running proxy, so the deploy from this merge changes nothing on the box. Checked with Kamal 2.12.0:kamal configloads, and the proxy run command it builds isdocker run --name kamal-proxy … --log-driver "none" basecamp/kamal-proxy:v0.9.2 kamal-proxy runwith no--log-opt.🤖 Generated with Claude Code
https://claude.ai/code/session_014HgVKRoNZC5gcKdzyYgCWJ