fixes and updates
This commit is contained in:
parent
4c3ce6d2b6
commit
0692e8a0c5
1471 changed files with 27362 additions and 235 deletions
|
@ -1,25 +0,0 @@
|
|||
$HTTP["host"] =~ "^files\.thirdculture\.top$" {
|
||||
auth.backend = "htpasswd"
|
||||
auth.backend.htpasswd.userfile = "/etc/lighttpd/.htpasswd"
|
||||
|
||||
auth.require = ( "" =>
|
||||
(
|
||||
"method" => "basic",
|
||||
"realm" => "Password protected area",
|
||||
"require" => "valid-user"
|
||||
)
|
||||
)
|
||||
|
||||
proxy.server = (
|
||||
"" => (
|
||||
(
|
||||
"host" => "gossa",
|
||||
"port" => 8001,
|
||||
"headers" => (
|
||||
"Host" => "$HTTP_HOST",
|
||||
"X-Forwarded-For" => "$REMOTE_ADDR"
|
||||
)
|
||||
)
|
||||
)
|
||||
)
|
||||
}
|
|
@ -1,19 +0,0 @@
|
|||
$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"
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue