A small HTTP proxy
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
PapaTutuWawa 2c27aece68 docs: Add license and readme 1 month ago
LICENSE docs: Add license and readme 1 month ago
Readme.md docs: Add license and readme 1 month ago
go.mod Initial commit 1 month ago
go.sum Initial commit 1 month ago
main.go Initial commit 1 month ago

Readme.md

miniproxy

A very simple HTTP proxy with HMAC authentication.

Usage

Configure the proxy via config.toml at either the current working directory or /etc/miniproxy/config.toml:

port = 8080 # The port to run on
secret = "HelloWorld" # The secret for performing the HMAC calculation

You can then use http://<ip>:<port>/proxy/<HMAC>/<URL> to aquire <URL> using the proxy. Note that both the HMAC must be base64 encoded and then URL encoded. The <URL> must also be URL encoded. The URL encoding must also apply to the slash character ("/").

License

See ./LICENSE