Make new uhttpd hsts option configurable over uci.
Signed-off-by: Florian Eckert <[email protected]>
---
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
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel