diff options
author | Aaron LI <aly@aaronly.me> | 2018-02-26 17:24:34 +0800 |
---|---|---|
committer | Aaron LI <aly@aaronly.me> | 2018-03-14 11:28:44 +0800 |
commit | 8e249c5329d9d1c138ca90708849d4dff3cf9bc5 (patch) | |
tree | ffc822c27b6c21f01b09a3c0f62638dc0ab5023e | |
parent | 78282c107817f119e9f1cc526eba4e7b54e3ad93 (diff) | |
download | ansible-dfly-vps-8e249c5329d9d1c138ca90708849d4dff3cf9bc5.tar.bz2 |
shadowsocks: remove nameserver setting
-rw-r--r-- | host_vars/vultr | 1 | ||||
-rw-r--r-- | roles/shadowsocks/templates/config.json.j2 | 2 |
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, |