Initial release: install, uninstall, SmartDNS, web UI

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Андрей Бобырев
2026-05-24 22:15:37 +03:00
commit bc9355fe40
21 changed files with 2715 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
# Keenetic-Split-DNS web UI — lighttpd
# Installed to /opt/etc/keenetic-split-dns/lighttpd.conf
server.document-root = "/opt/share/keenetic-split-dns/www"
server.port = 3200
server.bind = "LAN_IP_PLACEHOLDER"
server.errorlog = "/opt/var/log/keenetic-split-dns/lighttpd-error.log"
server.pid-file = "/opt/var/run/keenetic-split-dns/lighttpd.pid"
index-file.names = ( "index.html" )
mimetype.assign = (
".html" => "text/html",
".css" => "text/css",
".js" => "application/javascript",
".json" => "application/json",
".svg" => "image/svg+xml",
".ico" => "image/x-icon"
)
cgi.assign = (
".cgi" => ""
)
url.rewrite-once = (
"^/api/?$" => "/api.cgi/status",
"^/api/(.*)$" => "/api.cgi/$1"
)
# LAN only — bind set at install/apply from config.yaml