mirror of
https://github.com/nadoo/glider.git
synced 2026-11-19 07:09:42 +08:00
chore: change config example to default listen on 127.0.0.1 (fix #391)
This commit is contained in:
1 parent
80a7d3b7fd
commit
6d2b1e95cc
2 files changed
+11
-10
No files matched your search
@@ -32,16 +32,17 @@ verbose=True
|
||||
# different protocols.
|
||||
|
||||
# listen on 8443, serve as http/socks5 proxy on the same port.
|
||||
listen=:8443
|
||||
# listen=:8443
|
||||
listen=127.0.0.1:8443
|
||||
|
||||
# listen on 8448 as a ss server.
|
||||
# listen=ss://AEAD_CHACHA20_POLY1305:pass@:8448
|
||||
|
||||
# listen on 8080 as a http proxy server.
|
||||
listen=http://:8080
|
||||
# listen=http://:8080
|
||||
|
||||
# listen on 1080 as a socks5 proxy server.
|
||||
listen=socks5://:1080
|
||||
# listen=socks5://:1080
|
||||
|
||||
# listen on 1234 as vless proxy server.
|
||||
# listen=vless://uuid@:1234
|
||||
@@ -222,7 +223,7 @@ checkdisabledonly=false
|
||||
# we can specify different upstream dns server in rule file for different destinations.
|
||||
|
||||
# Setup a dns forwarding server
|
||||
dns=:53
|
||||
# dns=:53
|
||||
|
||||
# global remote dns server (you can specify different dns server in rule file)
|
||||
dnsserver=8.8.8.8:53
|
||||
@@ -279,7 +280,7 @@ dnsrecord=www.example.com/2606:2800:220:1:248:1893:25c8:1946
|
||||
# Specify additional forward rules.
|
||||
#
|
||||
# specify rules folder, so all *.rule files under this folder will be parsed as rule file
|
||||
rules-dir=rules.d
|
||||
# rules-dir=rules.d
|
||||
#
|
||||
# specify a rule file
|
||||
#rulefile=office.rule
|
||||
|
||||
Reference in new issue
Block a user