Explorar el Código

Fix bootloop if stream is used for http/https port

Jasper Stubbe hace 11 meses
padre
commit
87998a03ce
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  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": [