command
module
Version:
v0.0.0-...-9d5629b
Opens a new window with list of versions in this module.
Published: Nov 11, 2021
License: MIT
Opens a new window with license information.
Imports: 16
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
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
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
Package flagx contains helper types for parsing command line arguments.
|
Package flagx contains helper types for parsing command line arguments. |
Click to show internal directories.
Click to hide internal directories.