mirror of
https://github.com/boringproxy/boringproxy.git
synced 2025-02-25 18:55:29 -06:00
c7efb826aea7d5c82f92541caaf1e2ee19ed2eaf
Services like Jellyfin weren't working apparently because the upstream requests were using chunked encoding. Reading the entire request body and forwarding it on seems to fix it. Also overriding the Host header for upstream requests.
What is it?
If you have a webserver running on one computer (say your development laptop), and you want to expose it securely (ie HTTPS) via a public URL, boringproxy allows you to easily do that.
You can learn more at boringproxy.io.
Building
git clone https://github.com/boringproxy/boringproxy
cd boringproxy
If you don't already have golang installed:
./install_go.sh
source $HOME/.bashrc
go build
To embed the web UI into the executable:
go get github.com/GeertJohan/go.rice/rice
rice embed-go
go build
Running
Server
boringproxy server -admin-domain bpdemo.brng.pro
Client
boringproxy client -server bpdemo.brng.pro -token fKFIjefKDFLEFijKDFJKELJF -client-name demo-client -user demo-user
Description
Simple tunneling reverse proxy with a fast web UI and auto HTTPS. Designed for self-hosters.
Languages
Go
88.2%
Shell
10.6%
Dockerfile
1.2%