summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorfett0 <fernando.gmaidana@gmail.com>2023-12-15 18:39:29 +0000
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2023-12-16 14:48:23 +0000
commit5a2952709380263d19995a8e5db1177f59a86095 (patch)
tree840925768a59213060be53a25b83acaf0f0ebf0d /interface-definitions
parent9afd896937ba25dcbc03c6b217e08fcd80494c08 (diff)
downloadvyos-1x-5a2952709380263d19995a8e5db1177f59a86095.tar.gz
vyos-1x-5a2952709380263d19995a8e5db1177f59a86095.zip
ocserv: T5796: add CLI knob "http-security-headers"
OCserv manual recommended HTTP headers tobe included in the configuration. (cherry picked from commit ad65d37ddf92ec8416c84707d7d41e63346b550c) (cherry picked from commit 24f449cc099703df95646c719e9d3f308ed1a3f0)
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/vpn-openconnect.xml.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/interface-definitions/vpn-openconnect.xml.in b/interface-definitions/vpn-openconnect.xml.in
index 75c64a99a..736084f8b 100644
--- a/interface-definitions/vpn-openconnect.xml.in
+++ b/interface-definitions/vpn-openconnect.xml.in
@@ -260,6 +260,12 @@
</leafNode>
</children>
</node>
+ <leafNode name="http-security-headers">
+ <properties>
+ <help>Enable HTTP security headers</help>
+ <valueless/>
+ </properties>
+ </leafNode>
<node name="ssl">
<properties>
<help>SSL Certificate, SSL Key and CA</help>