From d4e7225fb32a7b6eff9997c1c401aded6be2d845 Mon Sep 17 00:00:00 2001 From: Stephane de Labrusse Date: Thu, 16 May 2024 19:52:18 +0200 Subject: [PATCH] feat: Add port configuration to validate-input.json --- imageroot/actions/update-vhost/validate-input.json | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/imageroot/actions/update-vhost/validate-input.json b/imageroot/actions/update-vhost/validate-input.json index 0cedb95..5d178f4 100644 --- a/imageroot/actions/update-vhost/validate-input.json +++ b/imageroot/actions/update-vhost/validate-input.json @@ -19,7 +19,8 @@ "lets_encrypt": false, "http2https": true, "Indexes": "disabled", - "status": "enabled" + "status": "enabled", + "Port": 9001 } ], "type": "object", @@ -35,7 +36,8 @@ "MaxExecutionTime", "MaxFileUploads", "Indexes", - "status" + "status", + "Port" ], "properties": { "ServerNames": { @@ -115,6 +117,12 @@ "type": "boolean", "title": "HTTP to HTTPS redirection", "description": "Redirect all the HTTP requests to HTTPS" + }, + "port": { + "type": "integer", + "minimum": 9001, + "title": "port", + "description": "The port of the phpfpm pool" } } } \ No newline at end of file