gohttp/include/www.a.com.json

35 lines
729 B
JSON

{
"name": "a",
"server": ["www.a.com"],
"port": 8088,
"enable_ssl":true,
"paths": [
{
"path": "/",
"root": "./example",
"default": "index.html"
}
]
}
{
"name": "ahttp",
"server": ["www.a.com"],
"port": 8089,
"enable_ssl":false,
"paths": [
{
"path": "/",
"root": "./example",
"default": "index.html"
},
{
"path":"/HPImageArchive.aspx",
"upstreams":["https://cn.bing.com"],
"directives":[
"Proxy_HostSchemas $target",
"Proxy_Host $target",
"Proxy_XForwardFor"
]
}
]
}