mirror of
https://github.com/andrey271192/Keenetic-Split-DNS.git
synced 2026-09-20 11:55:36 +00:00
Initial release: install, uninstall, SmartDNS, web UI
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
29
etc/lighttpd/lighttpd.conf
Normal file
29
etc/lighttpd/lighttpd.conf
Normal 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
|
||||
Reference in New Issue
Block a user