Skip to content

Commit 0419c3f

Browse files
authored
Update README to include new install instructions
1 parent 3a79b4a commit 0419c3f

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

README.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,23 @@ ssl-proxy -cert cert.pem -key myKey.pem -from 0.0.0.0:4430 -to 127.0.0.1:8000
2929
```
3030
You can provide your own existing certs, of course. Jenkins still has issues serving the fullchain certs from letsencrypt properly, so this tool has come in handy for me there.
3131

32+
### Redirect HTTP -> HTTPS
33+
Simply include the `-redirectHTTP` flag when running the program.
34+
3235
## Installation
3336
Simply download and uncompress the proper prebuilt binary for your system from the [releases tab](https://github.com/suyashkumar/ssl-proxy/releases/). Then, add the binary to your path or start using it locally (`./ssl-proxy`).
3437

35-
If you're using `wget`, you can fetch and uncompress the proper binary in one command:
38+
If you're using `wget`, you can fetch and uncompress the right binary for your OS using [`bin.suyash.io`](https://github.com/suyashkumar/bin) as follows:
39+
```sh
40+
wget -qO- "https://bin.suyash.io/suyashkumar/ssl-proxy" | tar xvz
41+
```
42+
or with `curl` (note you need to provide your os if using curl as one of `(darwin, windows, linux)` below):
3643
```sh
37-
wget -qO- $BINARY_RELEASE_LINK | tar xvz
44+
curl -LJ "https://bin.suyash.io/suyashkumar/ssl-proxy?os=linux" | tar xvz
3845
```
3946

47+
Shameless plug: [`suyashkumar/bin (bin.suyash.io)`](https://github.com/suyashkumar/bin) is a general tool that can fetch the latest binaries from GitHub releases for your OS. Check it out :).
48+
4049
### Build from source
4150
#### Build from source using Docker
4251
You can build `ssl-proxy` for all platforms quickly using the included Docker configurations.

0 commit comments

Comments
 (0)