mirror of
https://github.com/proxysu/ProxySU.git
synced 2024-11-23 21:56:08 +03:00
69 lines
2.2 KiB
JSON
69 lines
2.2 KiB
JSON
{
|
|
"apps": {
|
|
"http": {
|
|
"servers": {
|
|
"srv0": {
|
|
"listen": [
|
|
":443"
|
|
],
|
|
"routes": [
|
|
{
|
|
"handle": [
|
|
{
|
|
"handler": "forward_proxy",
|
|
"hide_ip": true,
|
|
"hide_via": true,
|
|
"auth_user": "",
|
|
"auth_pass": "",
|
|
"probe_resistance": {
|
|
"domain": ""
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"match": [
|
|
{
|
|
"host": [
|
|
""
|
|
]
|
|
}
|
|
],
|
|
"handle": [
|
|
{
|
|
"handler": "file_server",
|
|
"root": "/usr/share/caddy"
|
|
}
|
|
],
|
|
"terminal": true
|
|
}
|
|
],
|
|
"tls_connection_policies": [
|
|
{
|
|
"match": {
|
|
"sni": [
|
|
""
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"tls": {
|
|
"automation": {
|
|
"policies": [
|
|
{
|
|
"subjects": [
|
|
""
|
|
],
|
|
"issuer": {
|
|
"email": "",
|
|
"module": "acme"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
} |