docs: mention AUTH_TOKEN env var

This commit is contained in:
raf 2024-12-22 19:25:00 +03:00
commit a44e9f27d2
No known key found for this signature in database
GPG key ID: EED98D11B85A2819

View file

@ -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.