Skip to content

Rewrite as standalone Go server with httputil.ReverseProxy#4

Merged
firecow merged 20 commits intomainfrom
rewrite/standalone-proxy
Feb 13, 2026
Merged

Rewrite as standalone Go server with httputil.ReverseProxy#4
firecow merged 20 commits intomainfrom
rewrite/standalone-proxy

Conversation

@firecow
Copy link
Member

@firecow firecow commented Feb 13, 2026

Summary

  • Replace Caddy plugin with standalone Go HTTP server using httputil.ReverseProxy
  • Fixes docker run/docker exec output by properly handling Docker's Upgrade: tcp connection hijacking
  • Add tests for auth middleware, services edit guard, and path matching
  • Fix json struct tag to yaml on ACL.Deployers

Test plan

  • go build succeeds
  • go test ./... passes (27 tests)
  • Auth rejection verified (no headers, wrong creds)
  • Auth pass verified (_ping, /version, /containers/json)
  • Connection hijacking verified (docker exec attach with output)
  • Services edit guard verified (forbidden/allowed prefix)

@firecow firecow self-assigned this Feb 13, 2026
@firecow firecow merged commit 6ec39ff into main Feb 13, 2026
8 checks passed
@firecow firecow deleted the rewrite/standalone-proxy branch February 13, 2026 10:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments