Ver Fonte

Fix bootloop if stream is used for http/https port

Jasper Stubbe há 11 meses atrás
pai
commit
87998a03ce
1 ficheiros alterados com 3 adições e 1 exclusões
  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": [