X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fstaging%2Fyousong.git;a=blobdiff_plain;f=package%2Fnetwork%2Fservices%2Fuhttpd%2Ffiles%2Fuhttpd.config;h=89f99aaeea8ccd3d8aaddf928a383d65a606c58f;hp=fab516051433821e2837e57da90eba8f29a7ad4d;hb=98c86e29705cb1e73e4f2e16044f1e73cff32e31;hpb=671cb35880308404a17c430c4b3b13dd506a5671 diff --git a/package/network/services/uhttpd/files/uhttpd.config b/package/network/services/uhttpd/files/uhttpd.config index fab5160514..89f99aaeea 100644 --- a/package/network/services/uhttpd/files/uhttpd.config +++ b/package/network/services/uhttpd/files/uhttpd.config @@ -103,6 +103,11 @@ config uhttpd main # 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 + # Defaults for automatic certificate and key generation config cert defaults @@ -120,3 +125,8 @@ config cert defaults # 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'