R1 LovePara: app-server stack, on-target C dev, new NIC support
This commit is contained in:
parent
8de5ae7e9e
commit
2a0f3a406c
1376 changed files with 262659 additions and 28 deletions
16
board/mentalnet/overlay/etc/lighttpd/conf.d/proxy.conf
Normal file
16
board/mentalnet/overlay/etc/lighttpd/conf.d/proxy.conf
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
## Copyright (C) 2026 Mark Robillard Jr (MARKMENTAL)
|
||||
## SPDX-License-Identifier: GPL-3.0-or-later
|
||||
# 1. You only need mod_proxy enabled for this
|
||||
server.modules += ( "mod_proxy" )
|
||||
|
||||
# 2. Trap the /proxy/ prefix from the user's HTTP request, map the path, and forward it
|
||||
# to the proxy passed application server
|
||||
$HTTP["url"] =~ "^/proxy/" {
|
||||
proxy.header = (
|
||||
"map-urlpath" => ( "/proxy/" => "/" )
|
||||
)
|
||||
proxy.server = (
|
||||
"" => ( ( "host" => "127.0.0.1", "port" => 1337 ) )
|
||||
)
|
||||
}
|
||||
|
||||
176
board/mentalnet/overlay/etc/lighttpd/modules.conf
Normal file
176
board/mentalnet/overlay/etc/lighttpd/modules.conf
Normal file
|
|
@ -0,0 +1,176 @@
|
|||
## Copyright (C) 2026 Mark Robillard Jr (MARKMENTAL)
|
||||
## SPDX-License-Identifier: GPL-3.0-or-later
|
||||
#######################################################################
|
||||
##
|
||||
## Modules to load
|
||||
## -----------------
|
||||
##
|
||||
## Load only the modules needed in order to keep things simple.
|
||||
##
|
||||
## lighttpd automatically adds the following default modules
|
||||
## to server.modules, if not explicitly listed in server.modules:
|
||||
## "mod_indexfile", "mod_dirlisting", "mod_staticfile"
|
||||
##
|
||||
## You may disable automatic loading of default modules by setting
|
||||
## server.compat-module-load = "disable"
|
||||
##
|
||||
## lighttpd provides many modules, and not all are listed below. Please see:
|
||||
## https://wiki.lighttpd.net/Docs_ConfigurationOptions
|
||||
##
|
||||
## Modules, which are pulled in via conf.d/*.conf
|
||||
##
|
||||
## - mod_accesslog -> conf.d/access_log.conf
|
||||
## - mod_deflate -> conf.d/deflate.conf
|
||||
## - mod_status -> conf.d/status.conf
|
||||
## - mod_webdav -> conf.d/webdav.conf
|
||||
## - mod_evhost -> conf.d/evhost.conf
|
||||
## - mod_simple_vhost -> conf.d/simple_vhost.conf
|
||||
## - mod_userdir -> conf.d/userdir.conf
|
||||
## - mod_rrdtool -> conf.d/rrdtool.conf
|
||||
## - mod_ssi -> conf.d/ssi.conf
|
||||
## - mod_cgi -> conf.d/cgi.conf
|
||||
## - mod_scgi -> conf.d/scgi.conf
|
||||
## - mod_fastcgi -> conf.d/fastcgi.conf
|
||||
## - mod_proxy -> conf.d/proxy.conf
|
||||
## - mod_expire -> conf.d/expire.conf
|
||||
##
|
||||
## NOTE: The order of modules in server.modules is important.
|
||||
##
|
||||
## Modules which gate requests (e.g. mod_access, mod_auth) or modify
|
||||
## requests (e.g. mod_alias, mod_setenv) should be listed before
|
||||
## modules which complete requests (e.g. mod_redirect, mod_rewrite),
|
||||
## and which, in turn, should be listed before dynamic handlers
|
||||
## (e.g. mod_cgi, mod_fastcgi, mod_proxy, mod_scgi, ...)
|
||||
##
|
||||
## Regardless of module order, modules operating on connections (e.g. TLS)
|
||||
## operate on connections before modules which operate on requests. (There
|
||||
## can be multiple requests per connection.) Similarly, regardless of module
|
||||
## order, mod_rewrite and mod_extforward operate on requests before other
|
||||
## request modules.
|
||||
##
|
||||
## DO NOT alphabetize modules.
|
||||
## Alphabetizing may break expected functionality. See explanation above.
|
||||
##
|
||||
|
||||
server.modules += (
|
||||
# "mod_rewrite",
|
||||
"mod_access",
|
||||
# "mod_auth",
|
||||
# "mod_authn_file",
|
||||
# "mod_redirect",
|
||||
# "mod_setenv",
|
||||
# "mod_alias",
|
||||
)
|
||||
|
||||
##
|
||||
#######################################################################
|
||||
|
||||
#######################################################################
|
||||
##
|
||||
## Config for various Modules
|
||||
##
|
||||
|
||||
##
|
||||
## TLS/SSL configuration
|
||||
##
|
||||
#include conf_dir + "/conf.d/tls.conf"
|
||||
|
||||
##
|
||||
## mod_expire
|
||||
##
|
||||
#include conf_dir + "/conf.d/expire.conf"
|
||||
|
||||
##
|
||||
## mod_deflate
|
||||
##
|
||||
#include conf_dir + "/conf.d/deflate.conf"
|
||||
|
||||
##
|
||||
## mod_magnet
|
||||
##
|
||||
#include conf_dir + "/conf.d/magnet.conf"
|
||||
|
||||
##
|
||||
## mod_ssi
|
||||
##
|
||||
#include conf_dir + "/conf.d/ssi.conf"
|
||||
|
||||
##
|
||||
## mod_status
|
||||
##
|
||||
#include conf_dir + "/conf.d/status.conf"
|
||||
|
||||
##
|
||||
## mod_webdav
|
||||
##
|
||||
#include conf_dir + "/conf.d/webdav.conf"
|
||||
|
||||
##
|
||||
## mod_userdir
|
||||
##
|
||||
#include conf_dir + "/conf.d/userdir.conf"
|
||||
|
||||
##
|
||||
## mod_rrdtool
|
||||
##
|
||||
#include conf_dir + "/conf.d/rrdtool.conf"
|
||||
|
||||
##
|
||||
#######################################################################
|
||||
|
||||
#######################################################################
|
||||
##
|
||||
## CGI/proxy modules
|
||||
##
|
||||
|
||||
##
|
||||
## mod_proxy
|
||||
##
|
||||
include conf_dir + "/conf.d/proxy.conf"
|
||||
|
||||
##
|
||||
## SCGI (mod_scgi)
|
||||
##
|
||||
#include conf_dir + "/conf.d/scgi.conf"
|
||||
|
||||
##
|
||||
## FastCGI (mod_fastcgi)
|
||||
##
|
||||
#include conf_dir + "/conf.d/fastcgi.conf"
|
||||
|
||||
##
|
||||
## plain old CGI (mod_cgi)
|
||||
##
|
||||
#include conf_dir + "/conf.d/cgi.conf"
|
||||
|
||||
##
|
||||
#######################################################################
|
||||
|
||||
#######################################################################
|
||||
##
|
||||
## VHost Modules
|
||||
##
|
||||
## options to support many vhosts
|
||||
## - none; virtual hosts (vhosts) are natively supported in lighttpd via
|
||||
## lighttpd.conf conditionals $HTTP["host"] == "..." { ... }
|
||||
## - mod_evhost
|
||||
## - mod_simple_vhost
|
||||
## - mod_vhostdb
|
||||
## mod_vhostdb_dbi, mod_vhostdb_ldap, mod_vhostdb_mysql, mod_vhostdb_pgsql
|
||||
##
|
||||
## https://wiki.lighttpd.net/Docs_ConfigurationOptions
|
||||
##
|
||||
|
||||
##
|
||||
## mod_evhost
|
||||
##
|
||||
#include conf_dir + "/conf.d/evhost.conf"
|
||||
|
||||
##
|
||||
## mod_simple_vhost
|
||||
##
|
||||
#include conf_dir + "/conf.d/simple_vhost.conf"
|
||||
|
||||
##
|
||||
#######################################################################
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue