aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron LI <aly@aaronly.me>2018-02-26 17:24:34 +0800
committerAaron LI <aly@aaronly.me>2018-03-14 11:28:44 +0800
commit8e249c5329d9d1c138ca90708849d4dff3cf9bc5 (patch)
treeffc822c27b6c21f01b09a3c0f62638dc0ab5023e
parent78282c107817f119e9f1cc526eba4e7b54e3ad93 (diff)
downloadansible-dfly-vps-8e249c5329d9d1c138ca90708849d4dff3cf9bc5.tar.bz2
shadowsocks: remove nameserver setting
-rw-r--r--host_vars/vultr1
-rw-r--r--roles/shadowsocks/templates/config.json.j22
2 files changed, 0 insertions, 3 deletions
diff --git a/host_vars/vultr b/host_vars/vultr
index fd97333..a0af249 100644
--- a/host_vars/vultr
+++ b/host_vars/vultr
@@ -17,7 +17,6 @@ shadowsocks:
server_port: 8989
password: "???"
method: "chacha20-ietf-poly1305"
- nameserver: "8.8.8.8"
nsd:
# List of domains/zones
diff --git a/roles/shadowsocks/templates/config.json.j2 b/roles/shadowsocks/templates/config.json.j2
index c5fb0cb..5744fec 100644
--- a/roles/shadowsocks/templates/config.json.j2
+++ b/roles/shadowsocks/templates/config.json.j2
@@ -1,10 +1,8 @@
{
"server": ["::0", "0.0.0.0"],
"server_port": {{ shadowsocks.server_port }},
- "local_port": 1080,
"password": "{{ shadowsocks.password }}",
"method": "{{ shadowsocks.method }}",
- "nameserver": "{{ shadowsocks.nameserver }}",
"timeout": 600,
"fast_open": true,
"reuse_port": true,