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

Merge pull request #500 from bam80/patch-2

mtg-config.toml: bind-to both IPv4/6
master
Sergei Arkhipov 2 дней назад
Родитель
Сommit
4cc6792628
Аккаунт пользователя с таким Email не найден
1 измененных файлов: 1 добавлений и 1 удалений
  1. 1
    1
      contrib/sni-router/mtg-config.toml

+ 1
- 1
contrib/sni-router/mtg-config.toml Просмотреть файл

5
 # 3. Set DOMAIN=<your.domain> in .env (HAProxy + Caddy pick it up).
5
 # 3. Set DOMAIN=<your.domain> in .env (HAProxy + Caddy pick it up).
6
 
6
 
7
 secret = "PASTE_YOUR_SECRET_HERE"
7
 secret = "PASTE_YOUR_SECRET_HERE"
8
-bind-to = "0.0.0.0:3128"
8
+bind-to = "[::]:3128"
9
 
9
 
10
 # HAProxy in front sends PROXY protocol v2 headers so mtg can see the
10
 # HAProxy in front sends PROXY protocol v2 headers so mtg can see the
11
 # real client IP.  Keep this in sync with haproxy.cfg (`send-proxy-v2`).
11
 # real client IP.  Keep this in sync with haproxy.cfg (`send-proxy-v2`).

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