uHTTPd is OpenWrt's default web server and is used to provide the LuCI web interface.
Its source code is available in the following git repository:
Built as a general purpose HTTP daemon suitable for embedded devices, uHTTPd features include:
uHTTPd is the standard HTTP server for OpenWrt, and is usually included by default in the system image for the main OpenWrt releases.
The package name is uhttpd.
In case the package is not installed, it can be installed manually:
opkg update
opkg install uhttpd
However, it is usually installed automatically as a dependency for the LuCI web interface.
The configuration of uHTTPd is performed via OpenWrt's standard uci system.
The configuration file is /etc/config/uhttpd. See the uHTTPd UCI configuration page for further details.
One can use the default installation to publish files under /www. Here's a quick example:
mkdir /www/test echo "Hello world" >> /www/test/message.txt
The file should now be available at e.g. https://192.168.1.1/test/.