Skip to content

Commit

Permalink
doc: update readme tls section
Browse files Browse the repository at this point in the history
  • Loading branch information
aymanbagabas committed Mar 9, 2022
1 parent 58ce2e3 commit 12292a8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 14 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -196,8 +196,8 @@ See instructions for [Systemd](https://github.com/charmbracelet/charm/blob/main/

### TLS

To set up TLS, you should set `CHARM_SERVER_HTTP_SCHEME` environment variable to
`https` and specify `CHARM_SERVER_HOST`, `CHARM_SERVER_TLS_KEY_FILE`, and
To set up TLS, you should set `CHARM_SERVER_USE_TLS` to `true`, and specify
`CHARM_SERVER_HOST`, `CHARM_SERVER_TLS_KEY_FILE`, and
`CHARM_SERVER_TLS_CERT_FILE` file paths.

## Projects using Charm
Expand Down
13 changes: 1 addition & 12 deletions systemd.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,7 @@ in the systemd service file as described below.

## TLS

To set up TLS, you should set `CHARM_SERVER_USE_TLS` to `true`, and specify
`CHARM_SERVER_HOST`, `CHARM_SERVER_TLS_KEY_FILE`, and
`CHARM_SERVER_TLS_CERT_FILE` file paths.
See [TLS](README.md#tls) for more information.

***

Expand All @@ -40,12 +38,3 @@ Part of [Charm](https://charm.sh).

Charm热爱开源 • Charm loves open source


[releases]: https://github.com/charmbracelet/charm/releases
[docs]: https://pkg.go.dev/github.com/charmbracelet/charm?tab=doc
[kv]: https://github.com/charmbracelet/charm/tree/main/kv
[fs]: https://github.com/charmbracelet/charm/tree/main/fs
[crypt]: https://github.com/charmbracelet/charm/tree/main/crypt
[glow]: https://github.com/charmbracelet/glow
[skate]: https://github.com/charmbracelet/skate
[badger]: https://github.com/dgraph-io/badger

0 comments on commit 12292a8

Please sign in to comment.