Set up a working conduwuit server #2

Merged
Ittihadyya merged 22 commits from conduit into trunk 2025-01-13 19:24:42 +02:00
Showing only changes of commit 0d7b387a95 - Show all commits

View file

@ -1,68 +1,65 @@
{ {
layer4 { layer4 {
:222 { :222 {
@a ssh @a ssh
route @a { route @a {
proxy 10.24.1.9:222 proxy 10.24.1.9:222
} }
} }
:64738 { :64738 {
route { route {
proxy 10.24.1.4:64738 proxy 10.24.1.4:64738
} }
} }
} }
} }
https://collective-conciousness.monster, http://collective-conciousness.monster { https://collective-conciousness.monster, http://collective-conciousness.monster {
encode zstd gzip encode zstd gzip
header { header {
Strict-Transport-Security "max-age=31536001; includeSubdomains; preload" Strict-Transport-Security "max-age=31536001; includeSubdomains; preload"
} }
reverse_proxy /_matrix* 10.24.1.4:7893 reverse_proxy /_matrix* 10.24.1.4:7893
respond /.well-known/matrix/server { respond /.well-known/matrix/server "{\"m.server\": \"collective-conciousness.monster:443\"}"
body "{\"m.server\": \"collective-conciousness.monster:443\"}"
close root * /var/www/public
} file_server {
root * /var/www/public precompressed zstd br gzip
file_server { }
precompressed zstd br gzip
}
} }
https://git.collective-conciousness.monster { https://git.collective-conciousness.monster {
reverse_proxy 10.24.1.9:3000 reverse_proxy 10.24.1.9:3000
} }
https://obs.collective-conciousness.monster { https://obs.collective-conciousness.monster {
reverse_proxy 10.24.1.4:5894 reverse_proxy 10.24.1.4:5894
} }
https://gts.collective-conciousness.monster { https://gts.collective-conciousness.monster {
# Optional, but recommended, compress the traffic using proper protocols # Optional, but recommended, compress the traffic using proper protocols
encode zstd gzip encode zstd gzip
# The actual proxy configuration to port 8080 (unless you've chosen another port number) # The actual proxy configuration to port 8080 (unless you've chosen another port number)
reverse_proxy 10.24.1.9:8080 { reverse_proxy 10.24.1.9:8080 {
# Flush immediately, to prevent buffered response to the client # Flush immediately, to prevent buffered response to the client
flush_interval -1 flush_interval -1
} }
} }
https://cache.collective-conciousness.monster { https://cache.collective-conciousness.monster {
encode zstd gzip encode zstd gzip
reverse_proxy 10.24.1.4:5020 reverse_proxy 10.24.1.4:5020
} }
https://grf.collective-conciousness.monster { https://grf.collective-conciousness.monster {
encode zstd gzip encode zstd gzip
reverse_proxy 10.24.1.4:6700
reverse_proxy 10.24.1.4:6700
} }
http://matrix.collective-conciousness.monster, https://matrix.collective-conciousness.monster, matrix.collective-conciousness.monster, matrix.collective-conciousness.monster:8448, collective-conciousness.monster:8448 { http://matrix.collective-conciousness.monster, https://matrix.collective-conciousness.monster, matrix.collective-conciousness.monster, matrix.collective-conciousness.monster:8448, collective-conciousness.monster:8448 {
reverse_proxy 10.24.1.4:7893 reverse_proxy 10.24.1.4:7893
} }