add files for www/deploy.py in files/www/

This commit is contained in:
2e20 2024-10-07 02:52:18 +02:00
parent 61111796ba
commit af8044f7a3
7 changed files with 95 additions and 0 deletions

35
files/www/config.json Normal file
View file

@ -0,0 +1,35 @@
{
"default_server_config": {
"m.homeserver": {
"server_name": "Heizhaus",
"base_url": "https://matrix.0x90.space/"
}
},
"brand": "Element",
"branding": {
"welcomeBackgroundUrl": "heizhaus.jpg",
"authHeaderLogoUrl": "heizhaus-logo.png",
"authFooterLinks": [
{
"text": "Homepage",
"url": "https://heizhaus.org/"
},
{
"text": "Wiki",
"url": "https://wiki.heizhaus.org/"
}
]
},
"defaultCountryCode": "DE",
"settingDefaults": {
"UIFeature.registration": false
},
"disable_custom_urls": true,
"permalinkPrefix": "https://chat.heizhaus.org",
"showLabsSettings": true,
"roomDirectory": {
"servers": [
"chat.heizhaus.org"
]
}
}

1
files/www/element.sha256 Normal file
View file

@ -0,0 +1 @@
sha256:1f309d7863f583fef7294aa34ae19413991fd82aebd4c5d8bc3ac72eab04f71a.

BIN
files/www/heizhaus-logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

BIN
files/www/heizhaus.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 304 KiB

49
files/www/httpd.conf Normal file
View file

@ -0,0 +1,49 @@
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"
# }

View file

@ -0,0 +1,6 @@
{
"m.homeserver": {
"base_url": "https://matrix.0x90.space/"
}
}

View file

@ -0,0 +1,4 @@
{
"m.server": "matrix.0x90.space:443"
}