Files

53 lines
978 B
Markdown
Raw Permalink Normal View History

2020-09-23 10:28:18 -06:00
# What is it?
If you have a webserver running on one computer (say your development laptop),
2020-09-29 15:53:10 -06:00
and you want to expose it securely (ie HTTPS) via a public URL, boringproxy
2020-09-23 10:28:18 -06:00
allows you to easily do that.
2020-10-31 15:13:09 -06:00
2020-11-25 18:42:40 -07:00
**NOTE:** For information on downloading and running boringproxy, it's best to
start on the website, [boringproxy.io](https://boringproxy.io/). The information
in this README is just for building from source.
2020-10-31 15:13:09 -06:00
# Building
```bash
git clone https://github.com/boringproxy/boringproxy
```
```bash
cd boringproxy
```
If you don't already have golang installed:
```bash
./install_go.sh
source $HOME/.bashrc
```
```bash
go build
```
To embed the web UI into the executable:
```bash
go get github.com/GeertJohan/go.rice/rice
rice embed-go
go build
```
# Running
## Server
```bash
boringproxy server -admin-domain bpdemo.brng.pro
```
## Client
```bash
boringproxy client -server bpdemo.brng.pro -token fKFIjefKDFLEFijKDFJKELJF -client-name demo-client -user demo-user
```