Skip to content

Commit d62332c

Browse files
committed
updated the readme
1 parent fbe3dda commit d62332c

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
bin/*

README.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,26 @@ How it works
1010

1111
How to install
1212
===============
13+
- Download a release file from [here](https://github.com/alash3al/tlx/releases)
14+
- Extract the file from the archive
15+
- open your Command Line Interface in the working directory of the extraction process
16+
- run `./tlx --help` to test it
17+
18+
Usage
19+
=========
20+
21+
#### Creating Cert & Key
22+
```bash
23+
# the key
24+
openssl ecparam -genkey -name secp384r1 -out server.key
25+
26+
# the cert
27+
openssl req -new -x509 -sha256 -key server.key -out server.crt -days 3650
28+
```
29+
30+
#### Run
31+
```bash
32+
# listen on ":9000" and forward the requests to "localhost:8000"
33+
# then set the tls cert and key
34+
./tlx -backend "localhost:8000" -listen ":9000" -cert "./server.crt" -key "./server.key"
35+
```

0 commit comments

Comments
 (0)