Refactor Argus,Gotify,Lighttpd
This commit is contained in:
38
services/Lighttpd/configmap-configmap-lighttpd-vhosts.yaml
Normal file
38
services/Lighttpd/configmap-configmap-lighttpd-vhosts.yaml
Normal file
@ -0,0 +1,38 @@
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: configmap-lighttpd-vhosts
|
||||
namespace: lighttpd
|
||||
data:
|
||||
bessems.com.conf: |
|
||||
$HTTP["host"] =~ "^bessems\.(com|eu)$" {
|
||||
server.document-root = "/var/www/bessems.com/"
|
||||
}
|
||||
gabaldon.eu.conf: |
|
||||
$HTTP["host"] =~ "^gabaldon\.(eu|nl)$" {
|
||||
server.document-root = "/var/www/gabaldon.eu/"
|
||||
}
|
||||
sn.itch.fyi.conf: |
|
||||
$HTTP["host"] == "sn.itch.fyi" {
|
||||
server.document-root = "/var/www/sn.itch.fyi/"
|
||||
|
||||
index-file.names += ("/_h5ai/public/index.php")
|
||||
}
|
||||
$HTTP["url"] =~ "^/repository|^/Repository" {
|
||||
auth.require = (
|
||||
"" => (
|
||||
"method" => "basic",
|
||||
"realm" => "Restricted access",
|
||||
"require" => "user=readaccess"
|
||||
)
|
||||
)
|
||||
}
|
||||
spamasaurus.com.conf: |
|
||||
$HTTP["host"] == "spamasaurus.com" {
|
||||
server.document-root = "/var/www/spamasaurus.com/public"
|
||||
|
||||
index-file.names += ("spamasaurusRex.login.php")
|
||||
}
|
||||
$HTTP["url"] =~ "^/.well-known/" {
|
||||
mimetype.assign += ( "server" => "application/json" )
|
||||
}
|
Reference in New Issue
Block a user