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:
1 parent
8b36e51b56
commit
5729ed62f7
2 files changed
+11
-2
No files matched your search
@@ -1,6 +1,6 @@
|
||||
# HellCon's own servers: a tracker behind Caddy and a STUN server. Neither is needed, the client works
|
||||
# with any WebTorrent tracker and STUN server. Set ORIGINS in .env next to this file, e.g.
|
||||
# ORIGINS=https://hellcon.example.org, then `docker compose up -d --build`. Caddy, in its own compose
|
||||
# with any WebTorrent tracker and STUN server. Copy .env.example to .env and set ORIGINS there, then
|
||||
# `docker compose up -d --build`. Caddy, in its own compose
|
||||
# project, proxies to the tracker over its network (CADDY_NETWORK, "caddy" unless set):
|
||||
#
|
||||
# tracker.example.org {
|
||||
|
||||
Reference in new issue
Block a user