mirror of
https://github.com/hrfee/jfa-go.git
synced 2024-11-25 03:40:12 +00:00
Created TLS (markdown)
parent
901c7d888d
commit
dcc6d3fdaa
8
TLS.md
Normal file
8
TLS.md
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
TLS can be enabled in the `Advanced` section. You will need a certificate and key for this. You can get these from [letsEncrypt](https://letsencrypt.org), or if using on a local network or placing behind a reverse proxy, you can generate them yourself with:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
$ openssl genrsa -out server.key 2048 # Your key file, set the path to this in [advanced]/tls_key
|
||||||
|
$ openssl req -new -x509 -key server.key -out server.pem -days 365 # Your cert, set the path to this in [advanced]/tls_cert
|
||||||
|
```
|
||||||
|
When enabled, jfa-go runs on port 8057 by default, which you can change with `[advanced]/tls_port`.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user