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 ) )
|
||||
)
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue