Просмотр исходного кода

sni-router: point single-domain users at the two-service wiki setup

sni-router-two-service-pointer
dolonet 2 недель назад
Родитель
Сommit
90551fb8f4
1 измененных файлов: 15 добавлений и 0 удалений
  1. 15
    0
      contrib/sni-router/README.md

+ 15
- 0
contrib/sni-router/README.md Просмотреть файл

@@ -19,6 +19,21 @@ flagged.  With this setup:
19 19
 Because your domain's DNS points to this server, the SNI/IP match is
20 20
 natural and passive DPI has nothing to flag.
21 21
 
22
+## Do you need HAProxy at all?
23
+
24
+For a single domain you can run just two services: mtg itself owns
25
+`:443` and relays non-Telegram TLS to Caddy through its built-in
26
+domain fronting — the same job HAProxy does here, decided by secret
27
+validation instead of SNI.  See
28
+[Setup Without SNI Router](https://github.com/9seconds/mtg/wiki/Setup-Without-SNI-Router)
29
+in the wiki for a ready-made compose.
30
+
31
+Keep the HAProxy variant when you need either of:
32
+
33
+- several domains/backends multiplexed on the same `:443` — mtg has a
34
+  single fronting target;
35
+- the website to stay up while mtg is down or restarting.
36
+
22 37
 ## Quick start
23 38
 
24 39
 ```bash

Загрузка…
Отмена
Сохранить