pre release

This commit is contained in:
q 2024-11-12 16:45:42 -05:00
parent 31022358ed
commit 79de710800
40 changed files with 848 additions and 20 deletions

View file

@ -14,7 +14,11 @@ $HTTP["host"] =~ "^files\.thirdculture\.top$" {
"" => (
(
"host" => "gossa",
"port" => 8001
"port" => 8001,
"headers" => (
"Host" => "$HTTP_HOST",
"X-Forwarded-For" => "$REMOTE_ADDR"
)
)
)
)

View file

@ -0,0 +1,19 @@
$HTTP["host"] =~ "up\.thirdculture\.top" {
server.document-root = "/var/www/localhost/htdocs"
proxy.server = (
"" => (
"localhost" => (
"host" => "transfer",
"port" => 8080,
"path" => "/web",
"headers" => (
"Host" => "$HTTP_HOST",
"X-Forwarded-For" => "$REMOTE_ADDR"
)
)
)
)
proxy.balance = "round-robin"
}

View file

@ -20,6 +20,7 @@ server.modules = (
"mod_access",
# "mod_cml",
# "mod_trigger_b4_dl",
"mod_authn_file",
"mod_auth",
# "mod_status",
# "mod_setenv",
@ -37,7 +38,10 @@ server.modules = (
"mod_accesslog"
)
# }}}
# DEBUG
#setenv.add-response-header = ( "X-Debug" => "true" )
#debug.log-request-header = "enable"
#debug.log-response-header = "enable"
# {{{ includes
include "mime-types.conf"
# uncomment for cgi support