21 lines
469 B
Text
21 lines
469 B
Text
$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
|
|
)
|
|
)
|
|
)
|
|
}
|