소스 검색

mtg-config.toml: bind-to both IPv4/6

pull/500/head
Andrey Butirsky 1 주 전
부모
커밋
45635aae82
No account linked to committer's email address
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1
    1
      contrib/sni-router/mtg-config.toml

+ 1
- 1
contrib/sni-router/mtg-config.toml 파일 보기

5
 # 3. Replace example.com with your actual domain everywhere.
5
 # 3. Replace example.com with your actual domain everywhere.
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`).

Loading…
취소
저장