[OpenWrt-Devel] [PATCH 2/2] services/uhttpd: add hsts uci support
Florian Eckert
fe at dev.tdt.de
Thu Aug 2 05:16:03 EDT 2018
Make new uhttpd hsts option configurable over uci.
Signed-off-by: Florian Eckert <fe at dev.tdt.de>
---
package/network/services/uhttpd/files/uhttpd.init | 1 +
1 file changed, 1 insertion(+)
diff --git a/package/network/services/uhttpd/files/uhttpd.init b/package/network/services/uhttpd/files/uhttpd.init
index 47270bcc15..66dd9182f9 100755
--- a/package/network/services/uhttpd/files/uhttpd.init
+++ b/package/network/services/uhttpd/files/uhttpd.init
@@ -122,6 +122,7 @@ start_instance()
append_arg "$cfg" error_page "-E"
append_arg "$cfg" max_requests "-n" 3
append_arg "$cfg" max_connections "-N"
+ append_arg "$cfg" hsts "-P"
append_bool "$cfg" no_ubusauth "-a" 0
append_bool "$cfg" no_symlinks "-S" 0
--
2.11.0
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list