Message ID | 20180802091603.13980-2-fe@dev.tdt.de |
---|---|
State | New |
Delegated to: | Jo-Philipp Wich |
Headers | show |
Series | [OpenWrt-Devel,1/2] services/uhttpd: add Strict-Transport-Security option | expand |
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
Make new uhttpd hsts option configurable over uci. Signed-off-by: Florian Eckert <fe@dev.tdt.de> --- package/network/services/uhttpd/files/uhttpd.init | 1 + 1 file changed, 1 insertion(+)