0x90-pyinfra/files/www/httpd.conf

50 lines
1 KiB
ApacheConf

server "0x90.space" {
listen on egress port 80
log style forwarded
root "/0x90.space"
tcp { backlog 128 }
}
server "quellcode.0x90.space" {
listen on egress port 80
log style forwarded
root "/quellcode.0x90.space"
tcp { backlog 128 }
}
server "chat.0x90.space" {
listen on egress port 80
log style forwarded
root "/element"
location "/.well-known/matrix/*" {
root "/matrix"
request strip 2
default type application/json
}
tcp { backlog 128 }
}
server "chat.heizhaus.org" {
listen on egress port 80
log style forwarded
root "/element"
location "/.well-known/matrix/*" {
root "/matrix"
request strip 2
default type application/json
}
tcp { backlog 128 }
}
# for php:
# directory index "index.php"
# location match ".*%.php" {
# fastcgi socket "/run/php-fpm.sock"
# }