mirror of
https://github.com/NotAShelf/mpvrc.git
synced 2026-04-15 15:33:47 +00:00
docs: mention AUTH_TOKEN env var
This commit is contained in:
parent
ea085ba5fa
commit
a44e9f27d2
1 changed files with 10 additions and 0 deletions
10
README.md
10
README.md
|
|
@ -4,3 +4,13 @@ Creating a PKCS#12 certificate file using OpenSSL:
|
|||
openssl req -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem -days 365
|
||||
openssl pkcs12 -export -out identity.pfx -inkey key.pem -in cert.pem
|
||||
```
|
||||
|
||||
Before running the server:
|
||||
|
||||
```bash
|
||||
export TLS_PFX_PATH=/path/to/identity.pfx
|
||||
export TLS_PASSWORD="your_identity_passphrase"
|
||||
export AUTH_TOKEN="your_auth_token"
|
||||
```
|
||||
|
||||
How you handle environment is up to you, Systemd makes it somewhat easy.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue