Repository navigation
feat(proxy): add bounded proxy access log viewer - #44
Merged
Merged
Conversation
Contributor
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Advanced Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
RentnerKev
added a commit
that referenced
this pull request
Sep 12, 2026
RentnerKev
added a commit
that referenced
this pull request
Sep 12, 2026
RentnerKev
added a commit
that referenced
this pull request
Sep 12, 2026
* feat(proxy): add IP allow and deny access rules * feat(proxy): add bounded proxy access log viewer (#44)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add a read-only viewer for real Caddy proxy requests with host/status filters, search, pagination, and refresh. Entries include timing, source IP, response bytes and the selected upstream when available.
Store JSON logs in the existing proxy volume, rotating at 4 MiB with four archives. The viewer reads a bounded recent window of up to seven days. Headers, query strings, bodies and authenticated usernames are excluded; access requires a dedicated permission. Logs survive restarts and remain excluded from backups. The README change is one feature bullet; detailed behavior is in docs/proxy-access-logs.md.
Related issue
Closes #32. Depends on #43; this PR is stacked until its prerequisite is merged, then its base will move to main.
Type of change
Testing
bun run checkpassed: 588 web tests and 119 controller tests; lint, types, schema checks and production builds pass.All GitHub validation workflows passed for e8fc7e6: CI (34662508539), Production Smokes (34662507966), and CodeQL (34662508374).
Checklist
Breaking changes
None. No database migration or snapshot-version change.
Screenshots
Viewer interactions and access restrictions are covered by automated UI tests.