2024-10-09 04:05:15 -04:00
|
|
|
{
|
|
|
|
"operationId": "getProxyHost",
|
|
|
|
"summary": "Get a Proxy Host",
|
|
|
|
"tags": ["Proxy Hosts"],
|
|
|
|
"security": [
|
|
|
|
{
|
|
|
|
"BearerAuth": ["proxy_hosts"]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"parameters": [
|
|
|
|
{
|
|
|
|
"in": "path",
|
|
|
|
"name": "hostID",
|
|
|
|
"schema": {
|
|
|
|
"type": "integer",
|
|
|
|
"minimum": 1
|
|
|
|
},
|
|
|
|
"required": true,
|
|
|
|
"example": 1
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"responses": {
|
|
|
|
"200": {
|
|
|
|
"description": "200 response",
|
|
|
|
"content": {
|
|
|
|
"application/json": {
|
|
|
|
"examples": {
|
|
|
|
"default": {
|
|
|
|
"value": {
|
|
|
|
"id": 1,
|
|
|
|
"created_on": "2024-10-08T23:23:03.000Z",
|
|
|
|
"modified_on": "2024-10-08T23:26:38.000Z",
|
|
|
|
"owner_user_id": 1,
|
|
|
|
"domain_names": ["test.example.com"],
|
|
|
|
"forward_host": "192.168.0.10",
|
|
|
|
"forward_port": 8989,
|
|
|
|
"access_list_id": 0,
|
|
|
|
"certificate_id": 0,
|
2024-10-10 01:53:11 -04:00
|
|
|
"ssl_forced": false,
|
|
|
|
"caching_enabled": false,
|
|
|
|
"block_exploits": false,
|
2024-10-09 04:05:15 -04:00
|
|
|
"advanced_config": "",
|
|
|
|
"meta": {
|
|
|
|
"nginx_online": true,
|
|
|
|
"nginx_err": null
|
|
|
|
},
|
2024-10-10 01:53:11 -04:00
|
|
|
"allow_websocket_upgrade": false,
|
|
|
|
"http2_support": false,
|
2024-10-09 04:05:15 -04:00
|
|
|
"forward_scheme": "http",
|
2024-10-10 01:53:11 -04:00
|
|
|
"enabled": true,
|
2024-10-09 04:05:15 -04:00
|
|
|
"locations": null,
|
2024-10-10 01:53:11 -04:00
|
|
|
"hsts_enabled": false,
|
|
|
|
"hsts_subdomains": false
|
2024-10-09 04:05:15 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"schema": {
|
|
|
|
"$ref": "../../../../components/proxy-host-object.json"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|