summaryrefslogtreecommitdiff
path: root/interface-definitions/service_https.xml.in
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2024-03-07 23:13:40 +0200
committerGitHub <noreply@github.com>2024-03-07 23:13:40 +0200
commit6b52ad6d456e9e90cb983649b3ae43ac1c597f74 (patch)
tree54646d0be93bfe0d5667902b99979424972c06ba /interface-definitions/service_https.xml.in
parentfcd2fc01101960c5e8d4fd04995417d35233b16a (diff)
parent00352f4edadfa536b35112c1d2d2cdf72ffb4cd6 (diff)
downloadvyos-1x-6b52ad6d456e9e90cb983649b3ae43ac1c597f74.tar.gz
vyos-1x-6b52ad6d456e9e90cb983649b3ae43ac1c597f74.zip
Merge pull request #3109 from vyos/mergify/bp/sagitta/pr-3108
http-api: T6107: add an option to increase the request body size limit (backport #3108)
Diffstat (limited to 'interface-definitions/service_https.xml.in')
-rw-r--r--interface-definitions/service_https.xml.in13
1 files changed, 13 insertions, 0 deletions
diff --git a/interface-definitions/service_https.xml.in b/interface-definitions/service_https.xml.in
index b60c7ff2e..afe430c0c 100644
--- a/interface-definitions/service_https.xml.in
+++ b/interface-definitions/service_https.xml.in
@@ -138,6 +138,19 @@
<leafNode name='port'>
<defaultValue>443</defaultValue>
</leafNode>
+ <leafNode name="request-body-size-limit">
+ <properties>
+ <help>Maximum request body size in megabytes</help>
+ <valueHelp>
+ <format>u32:1-256</format>
+ <description>Request body size in megabytes</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 1-256"/>
+ </constraint>
+ </properties>
+ <defaultValue>1</defaultValue>
+ </leafNode>
<node name="certificates">
<properties>
<help>TLS certificates</help>