Add examples
This commit is contained in:
6
docs/examples/index.md
Normal file
6
docs/examples/index.md
Normal file
@@ -0,0 +1,6 @@
|
||||
# Examples
|
||||
|
||||
Configuration examples for sing-box.
|
||||
|
||||
* [Shadowsocks Server](./ss-server)
|
||||
* [Shadowsocks Client](./ss-client)
|
||||
23
docs/examples/ss-client.md
Normal file
23
docs/examples/ss-client.md
Normal file
@@ -0,0 +1,23 @@
|
||||
# Shadowsocks Client
|
||||
|
||||
```json
|
||||
{
|
||||
"inbounds": [
|
||||
{
|
||||
"type": "mixed",
|
||||
"listen": "::",
|
||||
"listen_port": 2080
|
||||
}
|
||||
],
|
||||
"outbounds": [
|
||||
{
|
||||
"type": "shadowsocks",
|
||||
"server": "::",
|
||||
"server_port": 8080,
|
||||
"method": "2022-blake3-aes-128-gcm",
|
||||
"password": "8JCsPssfgS8tiRwiMlhARg=="
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
```
|
||||
15
docs/examples/ss-server.md
Normal file
15
docs/examples/ss-server.md
Normal file
@@ -0,0 +1,15 @@
|
||||
# Shadowsocks Server
|
||||
|
||||
```json
|
||||
{
|
||||
"inbounds": [
|
||||
{
|
||||
"type": "shadowsocks",
|
||||
"listen": "::",
|
||||
"listen_port": 8080,
|
||||
"method": "2022-blake3-aes-128-gcm",
|
||||
"password": "8JCsPssfgS8tiRwiMlhARg=="
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
Reference in New Issue
Block a user