【alex0119】 在 https://github.com/istoreos/istoreos/issues/2475 发布:
caddy配置为:
@notcgi {
not path /cgi-bin/*
not path /
}
redir / /cgi-bin/luci
file_server @notcgi {
root /www
}
cgi /ubus* ubus.sh {
script_name /ubus
}
cgi /cgi-bin/luci* /www/cgi-bin/luci {
script_name /cgi-bin/luci
unbuffered_output
}
看下配置问题,怎么能显示日志