bearproxy

command module
v0.0.0-...-9d5629b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 11, 2021 License: MIT Imports: 16 Imported by: 0

README

bearproxy -- Authorization enforcing HTTP reverse proxy

Bearproxy is a very simple HTTP reverse proxy that checks that requests contain a valid secret as a bearer token.

It is meant to work as a minimal sidecar container, protecting a web service that doesn't have any authorization logic of its own.

go build eagain.net/go/bearproxy
echo s3kr1t >secret
./bearproxy -secret-token-file=secret -backend-url=http://localhost:8001/ -listen=:8000

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package flagx contains helper types for parsing command line arguments.
Package flagx contains helper types for parsing command line arguments.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL