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

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: sass:
style: compressed # possible values: nested expanded compact compressed style: compressed # possible values: nested expanded compact compressed
include:
- .well-known
exclude: exclude:
- Gemfile - Gemfile
- Gemfile.lock - Gemfile.lock

View File

@ -2,6 +2,8 @@ FROM caddy:2.9
RUN echo -e ":3000 {\n\ RUN echo -e ":3000 {\n\
root * /var/www\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\ file_server\n\
}" > /etc/caddy/Caddyfile }" > /etc/caddy/Caddyfile
WORKDIR /var/www WORKDIR /var/www