From 6e2c2eb10093938e02a0d44726f71f82c7ffc5b8 Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Thu, 22 Feb 2018 00:21:22 +0800 Subject: Add role shadowsocks --- roles/shadowsocks/templates/config.json.j2 | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 roles/shadowsocks/templates/config.json.j2 (limited to 'roles/shadowsocks/templates') diff --git a/roles/shadowsocks/templates/config.json.j2 b/roles/shadowsocks/templates/config.json.j2 new file mode 100644 index 0000000..c5fb0cb --- /dev/null +++ b/roles/shadowsocks/templates/config.json.j2 @@ -0,0 +1,13 @@ +{ + "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, + "no_delay": true, + "user": "nobody" +} -- cgit v1.2.2