Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

使用 Uhttp

官方文档 📝

uhttp

一、安装 uhttpd

opkg update
opkg install uhttpd

二、基本配置模板

进入配置文件:

vim /etc/config/uhttpd

在已有模板后添加以下内容:

config uhttpd 'profile'
    option listen_http '8080'
    option home '/root/profile'

三、重启 uhttpd

/etc/init.d/uhttpd restart