fix proxy-host-object
This commit is contained in:
@@ -17,6 +17,8 @@
|
||||
"advanced_config",
|
||||
"meta",
|
||||
"allow_websocket_upgrade",
|
||||
"enable_proxy_protocol",
|
||||
"load_balancer_ip",
|
||||
"http2_support",
|
||||
"forward_scheme",
|
||||
"enabled",
|
||||
@@ -78,6 +80,16 @@
|
||||
"example": true,
|
||||
"type": "boolean"
|
||||
},
|
||||
"enable_proxy_protocol": {
|
||||
"description": "Enable PROXY Protocol support",
|
||||
"example": true,
|
||||
"type": "boolean"
|
||||
},
|
||||
"load_balancer_ip": {
|
||||
"type": "string",
|
||||
"minLength": 0,
|
||||
"maxLength": 255
|
||||
},
|
||||
"http2_support": {
|
||||
"$ref": "../common.json#/properties/http2_support"
|
||||
},
|
||||
|
||||
@@ -45,6 +45,8 @@
|
||||
"nginx_err": null
|
||||
},
|
||||
"allow_websocket_upgrade": false,
|
||||
"enable_proxy_protocol": false,
|
||||
"load_balancer_ip": "",
|
||||
"http2_support": false,
|
||||
"forward_scheme": "http",
|
||||
"enabled": true,
|
||||
|
||||
@@ -65,6 +65,12 @@
|
||||
"allow_websocket_upgrade": {
|
||||
"$ref": "../../../../components/proxy-host-object.json#/properties/allow_websocket_upgrade"
|
||||
},
|
||||
"enable_proxy_protocol": {
|
||||
"$ref": "../../../components/proxy-host-object.json#/properties/enable_proxy_protocol"
|
||||
},
|
||||
"load_balancer_ip": {
|
||||
"$ref": "../../../components/proxy-host-object.json#/properties/load_balancer_ip"
|
||||
},
|
||||
"access_list_id": {
|
||||
"$ref": "../../../../components/proxy-host-object.json#/properties/access_list_id"
|
||||
},
|
||||
|
||||
@@ -53,6 +53,12 @@
|
||||
"allow_websocket_upgrade": {
|
||||
"$ref": "../../../components/proxy-host-object.json#/properties/allow_websocket_upgrade"
|
||||
},
|
||||
"enable_proxy_protocol": {
|
||||
"$ref": "../../../components/proxy-host-object.json#/properties/enable_proxy_protocol"
|
||||
},
|
||||
"load_balancer_ip": {
|
||||
"$ref": "../../../components/proxy-host-object.json#/properties/load_balancer_ip"
|
||||
},
|
||||
"access_list_id": {
|
||||
"$ref": "../../../components/proxy-host-object.json#/properties/access_list_id"
|
||||
},
|
||||
@@ -96,6 +102,8 @@
|
||||
"advanced_config": "",
|
||||
"meta": {},
|
||||
"allow_websocket_upgrade": false,
|
||||
"enable_proxy_protocol": false,
|
||||
"load_balancer_ip": "",
|
||||
"http2_support": false,
|
||||
"forward_scheme": "http",
|
||||
"enabled": true,
|
||||
|
||||
@@ -111,6 +111,8 @@
|
||||
"nginx_err": null
|
||||
},
|
||||
"allow_websocket_upgrade": false,
|
||||
"enable_proxy_protocol": false,
|
||||
"load_balancer_ip": "",
|
||||
"http2_support": false,
|
||||
"forward_scheme": "http",
|
||||
"enabled": true,
|
||||
|
||||
@@ -29,6 +29,8 @@ describe('Proxy Hosts endpoints', () => {
|
||||
block_exploits: false,
|
||||
caching_enabled: false,
|
||||
allow_websocket_upgrade: false,
|
||||
enable_proxy_protocol: false,
|
||||
load_balancer_ip: '',
|
||||
http2_support: false,
|
||||
hsts_enabled: false,
|
||||
hsts_subdomains: false,
|
||||
|
||||
Reference in New Issue
Block a user