From c0437d244491658ed4fe46a5c75df9b7ed600327 Mon Sep 17 00:00:00 2001 From: Minecon724 Date: Wed, 26 Mar 2025 18:38:34 +0100 Subject: [PATCH] Some changes --- README.md | 3 ++- config.toml | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 4a5db6d..0e99f14 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,7 @@ 1. Replace IP addressses in `docker-compose.yml` and `reset.sh` 2. Make sure `reset.sh` works +3. Set companion secret key in `config.toml` 3. In `nginx`: - `openssl dhparam -out dhparam.pem 3072` (takes up to a few minutes, you can do the two below steps in the meantime) - `openssl req -new -x509 -days 365 -noenc -out snakeoil.pem -keyout snakeoil.key` (keep pressing Enter) @@ -11,4 +12,4 @@ **TODOs**: - automate all above -- `reset.sh` only when companion already up +- `reset.sh` only when companion up diff --git a/config.toml b/config.toml index c56b95b..ec82e25 100644 --- a/config.toml +++ b/config.toml @@ -9,11 +9,11 @@ # See https://toml.io/en/ for details on the configuration format. ##### -# [server] +[server] # port = 8282 # env variable: PORT # host = "127.0.0.1" # env variable: HOST # # secret key needs to be 16 characters long or more -# secret_key = "CHANGE_ME" # env variable: SERVER_SECRET_KEY +secret_key = "CHANGE_ME" # env variable: SERVER_SECRET_KEY # verify_requests = false # [cache]