Dodanie .well-known z wpisami dot. matriksa

This commit is contained in:
Michał Rudowicz 2025-03-20 19:52:15 +01:00
parent 5b9ec1571a
commit 57f1931135
4 changed files with 7 additions and 0 deletions

View File

@ -0,0 +1 @@
{"m.homeserver": {"base_url": "https://matrix.hswro.org"}}

View File

@ -0,0 +1 @@
{"m.server": "matrix.hswro.org:443"}

View File

@ -20,6 +20,9 @@ favicon: "images/favicon.svg"
sass:
style: compressed # possible values: nested expanded compact compressed
include:
- .well-known
exclude:
- Gemfile
- Gemfile.lock

View File

@ -2,6 +2,8 @@ FROM caddy:2.9
RUN echo -e ":3000 {\n\
root * /var/www\n\
header /.well-known* Content-Type application/json\n\
header /.well-known/matrix/client Access-Control-Allow-Origin *\n\
file_server\n\
}" > /etc/caddy/Caddyfile
WORKDIR /var/www