Quellcode durchsuchen

contrib/sni-router: align mtg-config.toml comments with $DOMAIN flow

Comments said 'Replace example.com everywhere' which became stale once
$DOMAIN drives haproxy.cfg + Caddyfile + docker-compose. Reword so the
user's mental model is: pick a domain, generate the secret with it,
put it in .env once.
pull/502/head
Alexey Dolotov vor 1 Woche
Ursprung
Commit
dbb05e9cfa
1 geänderte Dateien mit 3 neuen und 3 gelöschten Zeilen
  1. 3
    3
      contrib/sni-router/mtg-config.toml

+ 3
- 3
contrib/sni-router/mtg-config.toml Datei anzeigen

@@ -1,8 +1,8 @@
1 1
 # Minimal mtg configuration for the SNI-router setup.
2 2
 #
3
-# 1. Generate a secret:  mtg generate-secret --hex example.com
4
-# 2. Paste it below.
5
-# 3. Replace example.com with your actual domain everywhere.
3
+# 1. Generate a secret:  mtg generate-secret --hex <your.domain>
4
+# 2. Paste it into the `secret` field below.
5
+# 3. Set DOMAIN=<your.domain> in .env (HAProxy + Caddy pick it up).
6 6
 
7 7
 secret = "PASTE_YOUR_SECRET_HERE"
8 8
 bind-to = "0.0.0.0:3128"

Laden…
Abbrechen
Speichern