From 98be33e5bed1104098f000069a0b89a281caa5fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?TED=20A=2E=20=E2=AD=95?= Date: Thu, 7 Aug 2025 12:01:53 +0000 Subject: [PATCH] Add uhttpd --- uhttpd | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 uhttpd diff --git a/uhttpd b/uhttpd new file mode 100644 index 0000000..2363d3a --- /dev/null +++ b/uhttpd @@ -0,0 +1,29 @@ +config uhttpd 'main' + list listen_http '0.0.0.0:80' + list listen_http '[::]:80' + list listen_https '0.0.0.0:443' + list listen_https '[::]:443' + option redirect_https '0' + option home '/www' + option rfc1918_filter '1' + option max_requests '3' + option max_connections '100' + option cert '/etc/uhttpd.crt' + option key '/etc/uhttpd.key' + option cgi_prefix '/cgi-bin' + list lua_prefix '/cgi-bin/luci=/usr/lib/lua/luci/sgi/uhttpd.lua' + option script_timeout '60' + option network_timeout '30' + option http_keepalive '20' + option tcp_keepalive '1' + option ubus_prefix '/ubus' + +config cert 'defaults' + option days '730' + option key_type 'ec' + option bits '2048' + option ec_curve 'P-256' + option country 'ZZ' + option state 'Somewhere' + option location 'Unknown' + option commonname 'OpenWrt' \ No newline at end of file