Skip to content

Commit

Permalink
rm cert and upd readme
Browse files Browse the repository at this point in the history
  • Loading branch information
joente committed Dec 1, 2023
1 parent 92ba806 commit 1b382a9
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 22 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,15 @@ TLSPROXY_KEY_FILE=server.key \
tlsproxy
```

## Environment variable

Environment | Description
----------------------- | -----------
`TLSPROXY_TARGET` | Address of the host.
`TLSPROXY_PORTS` | The ports you want to listen to with TLS. Multiple ports are allowed using a comma as separator with the following syntax: `<outside>:<inside>` _(example `443:80`)_ or `<same-auto-side-inside>` _(example `8000`)_.
`TLSPROXY_CERT_FILE` | Path to the certificate file _(example `/certs/server.crt`)_.
`TLSPROXY_KEY_FILE` | Path to the key file _(example `/certs/server.key`)_.

## Certificates

For testing, one can create certificates using the following commands:
Expand Down
13 changes: 0 additions & 13 deletions certificates/server.crt

This file was deleted.

9 changes: 0 additions & 9 deletions certificates/server.key

This file was deleted.

0 comments on commit 1b382a9

Please sign in to comment.