浏览代码

Fix bootloop if stream is used for http/https port

Jasper Stubbe 11 月之前
父节点
当前提交
87998a03ce
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      backend/schema/components/stream-object.json

+ 3 - 1
backend/schema/components/stream-object.json

@@ -19,7 +19,9 @@
 		"incoming_port": {
 			"type": "integer",
 			"minimum": 1,
-			"maximum": 65535
+			"maximum": 65535,
+			"if": {"properties": {"tcp_forwarding": {"const": true}}},
+			"then": {"not": {"oneOf": [{"const": 80}, {"const": 443}]}}
 		},
 		"forwarding_host": {
 			"anyOf": [