1首先安装
opkg install uhttpd
2.配置文件
vim /etc/config/uhttpd
config uhttpd main
option timeout 0 # 设为 0 表示永不超时(默认 60 秒)
option max_requests 1000 # 提高最大请求数(避免连接被重置)
3.重启uhttpd生效
/etc/init.d/uhttpd restart
1首先安装
opkg install uhttpd
2.配置文件
vim /etc/config/uhttpd
config uhttpd main
option timeout 0 # 设为 0 表示永不超时(默认 60 秒)
option max_requests 1000 # 提高最大请求数(避免连接被重置)
3.重启uhttpd生效
/etc/init.d/uhttpd restart