pre release
This commit is contained in:
parent
31022358ed
commit
79de710800
40 changed files with 848 additions and 20 deletions
|
@ -14,7 +14,11 @@ $HTTP["host"] =~ "^files\.thirdculture\.top$" {
|
|||
"" => (
|
||||
(
|
||||
"host" => "gossa",
|
||||
"port" => 8001
|
||||
"port" => 8001,
|
||||
"headers" => (
|
||||
"Host" => "$HTTP_HOST",
|
||||
"X-Forwarded-For" => "$REMOTE_ADDR"
|
||||
)
|
||||
)
|
||||
)
|
||||
)
|
||||
|
|
19
etc/lighttpd/conf.d/up.thirdculture.top.conf
Normal file
19
etc/lighttpd/conf.d/up.thirdculture.top.conf
Normal 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"
|
||||
}
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue