mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-08-21 00:17:38 +00:00
add PROXY to stream hosts.
This commit is contained in:
@@ -59,11 +59,12 @@
|
||||
"type": "boolean"
|
||||
},
|
||||
"enable_proxy_protocol": {
|
||||
"description": "Enable PROXY Protocol support",
|
||||
"description": "Enable PROXY Protocol support (Pass through)",
|
||||
"example": true,
|
||||
"type": "boolean"
|
||||
},
|
||||
"load_balancer_ip": {
|
||||
"description": "Authorized TCP Load Balancer IP / CIDR for setting 'set_real_ip_from'",
|
||||
"type": "string",
|
||||
"minLength": 0,
|
||||
"maxLength": 255
|
||||
|
@@ -46,6 +46,22 @@
|
||||
"udp_forwarding": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"stream_enable_proxy_protocol": {
|
||||
"description": "Enable PROXY Protocol creation and override",
|
||||
"example": true,
|
||||
"type": "boolean"
|
||||
},
|
||||
"stream_allow_proxy_protocol": {
|
||||
"description": "Enable PROXY Protocol passthrough",
|
||||
"example": true,
|
||||
"type": "boolean"
|
||||
},
|
||||
"stream_load_balancer_ip": {
|
||||
"description": "Authorized TCP Load Balancer IP / CIDR for setting 'set_real_ip_from'",
|
||||
"type": "string",
|
||||
"minLength": 0,
|
||||
"maxLength": 255
|
||||
},
|
||||
"enabled": {
|
||||
"$ref": "../definitions.json#/definitions/enabled"
|
||||
},
|
||||
@@ -78,6 +94,15 @@
|
||||
"udp_forwarding": {
|
||||
"$ref": "#/definitions/udp_forwarding"
|
||||
},
|
||||
"stream_allow_proxy_protocol": {
|
||||
"$ref": "#/definitions/stream_allow_proxy_protocol"
|
||||
},
|
||||
"stream_enable_proxy_protocol": {
|
||||
"$ref": "#/definitions/stream_enable_proxy_protocol"
|
||||
},
|
||||
"stream_load_balancer_ip": {
|
||||
"$ref": "#/definitions/stream_load_balancer_ip"
|
||||
},
|
||||
"enabled": {
|
||||
"$ref": "#/definitions/enabled"
|
||||
},
|
||||
@@ -88,7 +113,7 @@
|
||||
"links": [
|
||||
{
|
||||
"title": "List",
|
||||
"description": "Returns a list of Steams",
|
||||
"description": "Returns a list of Streams",
|
||||
"href": "/nginx/streams",
|
||||
"access": "private",
|
||||
"method": "GET",
|
||||
@@ -137,6 +162,15 @@
|
||||
"udp_forwarding": {
|
||||
"$ref": "#/definitions/udp_forwarding"
|
||||
},
|
||||
"stream_allow_proxy_protocol": {
|
||||
"$ref": "#/definitions/stream_allow_proxy_protocol"
|
||||
},
|
||||
"stream_enable_proxy_protocol": {
|
||||
"$ref": "#/definitions/stream_enable_proxy_protocol"
|
||||
},
|
||||
"stream_load_balancer_ip": {
|
||||
"$ref": "#/definitions/stream_load_balancer_ip"
|
||||
},
|
||||
"meta": {
|
||||
"$ref": "#/definitions/meta"
|
||||
}
|
||||
@@ -177,6 +211,15 @@
|
||||
"udp_forwarding": {
|
||||
"$ref": "#/definitions/udp_forwarding"
|
||||
},
|
||||
"stream_allow_proxy_protocol": {
|
||||
"$ref": "#/definitions/stream_allow_proxy_protocol"
|
||||
},
|
||||
"stream_enable_proxy_protocol": {
|
||||
"$ref": "#/definitions/stream_enable_proxy_protocol"
|
||||
},
|
||||
"stream_load_balancer_ip": {
|
||||
"$ref": "#/definitions/stream_load_balancer_ip"
|
||||
},
|
||||
"meta": {
|
||||
"$ref": "#/definitions/meta"
|
||||
}
|
||||
@@ -190,7 +233,7 @@
|
||||
},
|
||||
{
|
||||
"title": "Delete",
|
||||
"description": "Deletes a existing Stream",
|
||||
"description": "Deletes an existing Stream",
|
||||
"href": "/nginx/streams/{definitions.identity.example}",
|
||||
"access": "private",
|
||||
"method": "DELETE",
|
||||
@@ -204,7 +247,7 @@
|
||||
},
|
||||
{
|
||||
"title": "Enable",
|
||||
"description": "Enables a existing Stream",
|
||||
"description": "Enables an existing Stream",
|
||||
"href": "/nginx/streams/{definitions.identity.example}/enable",
|
||||
"access": "private",
|
||||
"method": "POST",
|
||||
@@ -218,7 +261,7 @@
|
||||
},
|
||||
{
|
||||
"title": "Disable",
|
||||
"description": "Disables a existing Stream",
|
||||
"description": "Disables an existing Stream",
|
||||
"href": "/nginx/streams/{definitions.identity.example}/disable",
|
||||
"access": "private",
|
||||
"method": "POST",
|
||||
|
Reference in New Issue
Block a user