Dodanie .well-known z wpisami dot. matriksa #14

Merged
miklo merged 1 commits from matrix_fixes into main 2025-03-22 14:23:41 +00:00
4 changed files with 7 additions and 0 deletions
Showing only changes of commit 57f1931135 - Show all commits

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