fix(config): warn when a public address is announced but only loopback is bound
`WEB_HOST=127.0.0.1` is the right default behind a reverse proxy on the same machine, and the wrong one inside a container or on a hosting panel, where the process has to bind the allocation. The guidance only mentioned the first case, so a `.env` written from the wizard could leave the dashboard listening where nothing could reach it — every request timing out with nothing saying why. The wizard now flags the contradiction between a loopback bind and a public URL, and both the help text and `.env.example` name the container case. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
3 files changed
+44
-4
No files matched your search
+3
-2
@@ -75,8 +75,9 @@ GITEA_WEBHOOK_SECRET=
|
||||
# Site d'administration servi par le bot : `npm run setup` pour l'assistant .env,
|
||||
# puis http://WEB_HOST:WEB_PORT une fois le bot démarré.
|
||||
WEB_ENABLED=false
|
||||
# 127.0.0.1 par défaut : n'expose rien hors de la machine. Mettre 0.0.0.0 seulement
|
||||
# derrière un reverse proxy HTTPS.
|
||||
# 127.0.0.1 derrière un reverse proxy installé sur la même machine.
|
||||
# 0.0.0.0 dans un conteneur ou sur un panel d'hébergement (Pterodactyl, Docker) :
|
||||
# sinon le site n'écoute que sur la boucle locale et reste injoignable.
|
||||
WEB_HOST=127.0.0.1
|
||||
WEB_PORT=3080
|
||||
# URL publique du tableau de bord, utilisée pour la redirection OAuth2 Discord.
|
||||
|
||||
Reference in new issue
Block a user