# Lua url prefix and handler script.
# Lua support is disabled if no prefix given.
-# option lua_prefix /luci
-# option lua_handler /usr/lib/lua/luci/sgi/uhttpd.lua
+ option lua_prefix /luci
+ option lua_handler /usr/lib/lua/luci/sgi/uhttpd.lua
# Specify the ubus-rpc prefix and socket path.
# option ubus_prefix /ubus
option tcp_keepalive 1
# Basic auth realm, defaults to local hostname
-# option realm Lede
+# option realm OpenWrt
# Configuration file in busybox httpd format
# option config /etc/httpd.conf
# except for development and debug purposes!
# option no_ubusauth 0
+ # For this instance of uhttpd use the listed httpauth
+ # sections to require Basic auth to the specified
+ # resources.
+# list httpauth prefix_user
-# Certificate defaults for px5g key generator
-config cert px5g
+
+# Defaults for automatic certificate and key generation
+config cert defaults
# Validity time
option days 730
# Common name
option commonname '%D'
+
+# config httpauth prefix_user
+# option prefix /protected/url/path
+# option username user
+# option password 'plaintext_or_md5_or_$p$user_for_system_user'