Add backend/.env.example

It shows what ORIGINS has to look like: exactly what browsers send as Origin, so scheme, host and a
non-default port, without path or trailing slash. Anything else locks out every client. CADDY_NETWORK
is there too, commented out with its default.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
SchluffeandClaude Opus 5.5 committed 2026-10-25 18:51:42 +01:00
1 parent 8b36e51b56
commit 5729ed62f7
2 files changed
+11 -2

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
# Copy to .env next to compose.yaml and adjust.
# Where HellCon is served from, as browsers send it in the Origin header: scheme, host and port if not
# the default, no path and no trailing slash. Several separated by commas or spaces. The tracker refuses
# every other origin.
ORIGINS=https://hellcon.example.org
# The external network Caddy is on, "caddy" if unset.
#CADDY_NETWORK=caddy