]> go.fuhry.dev Git - runtime.git/commit
Fine let's just make it a full HTTP proxy
authorDan Fuhry <dan@fuhry.com>
Sat, 29 Mar 2025 03:38:07 +0000 (23:38 -0400)
committerDan Fuhry <dan@fuhry.com>
Sat, 29 Mar 2025 03:38:07 +0000 (23:38 -0400)
commit8e994b9208488178e2d9bb0d53d815452c3064b8
treef5ac562d5d85b89f259139b174b137b0710c6fda
parent3bf0b0f20310252fddb8ea6404f20b3ce7bbbbfb
Fine let's just make it a full HTTP proxy

Refactor samlproxy into a general purpose proxy with pluggable actions. Add S3 bucket serving backend. Route actions can fulfill the request or modify it and call next(), basically the same idea as coredns but for http.

Backwards incompatible with existing configs.
13 files changed:
.gitignore
go.mod
go.sum
http/proxy/Makefile [moved from http/samlproxy/Makefile with 100% similarity]
http/proxy/main.go [new file with mode: 0644]
http/proxy/systemd/http-proxy@.service [moved from http/samlproxy/systemd/saml-proxy@.service with 100% similarity]
http/route_action_proxy.go [new file with mode: 0644]
http/route_action_redirect.go [new file with mode: 0644]
http/route_action_s3.go [new file with mode: 0644]
http/route_action_saml.go [new file with mode: 0644]
http/samlproxy.go [deleted file]
http/samlproxy/main.go [deleted file]
http/server.go [new file with mode: 0644]