Commit df18e14c authored by Aleksandr Gumroian's avatar Aleksandr Gumroian 🚀
Browse files

Merge branch 'support-lighttpd-openwrt' into 'master'

prepare to support upstream openwrt lighttpd pkg

See merge request !23
parents 363ad3f9 c8352749
Pipeline #93829 passed with stage
in 1 minute and 37 seconds
# These settings augment OpenWrt (upstream) lighttpd default config
# to support Turris webapps.
# This is part of turris-webapps package and is not meant to be edited.
# If you need different setup, uninstall this package and create your own config
# Listen on IPv4 "*:80" (default) and on IPv6 "[::]:80"
$SERVER["socket"] == "*:80" { }
$SERVER["socket"] == "[::]:80" { }
# Reset values so that lighttpd does not drop privileges
# and instead runs as the user who started lighttpd (root).
# LuCI, Foris, reForis require root to manage router configuration.
server.username := ""
server.groupname := ""
# JSON API
$HTTP["url"] =~ "^/js/apps.json$" {
alias.url = ( "/js/apps.json" => "/usr/share/turris-webapps/turris-webapps-json-cgi" )
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment