Add "behind proxy" mode to use forwarded IP headers

This commit is contained in:
William Bouzourène 2025-01-26 14:24:55 +01:00
parent a4b505f965
commit e915d62afa
Signed by: bouzoure
SSH key fingerprint: SHA256:19MbXpLua4rUtk8tunMesD8KUKb91LXLHg8E/qTooww
3 changed files with 11 additions and 2 deletions

View file

@ -2,5 +2,6 @@ DEBUG=false
DEV_MODE=false
APP_LISTEN_ADDRESS=127.0.0.1
APP_LISTEN_PORT=3000
APP_BEHIND_PROXY=false
DATABASE_LOCATION=./people.db
SESSIONS_LOCATION=./sessions.db