Dodanie .well-known z wpisami dot. matriksa
This commit is contained in:
parent
5b9ec1571a
commit
57f1931135
|
@ -0,0 +1 @@
|
|||
{"m.homeserver": {"base_url": "https://matrix.hswro.org"}}
|
|
@ -0,0 +1 @@
|
|||
{"m.server": "matrix.hswro.org:443"}
|
|
@ -20,6 +20,9 @@ favicon: "images/favicon.svg"
|
|||
sass:
|
||||
style: compressed # possible values: nested expanded compact compressed
|
||||
|
||||
include:
|
||||
- .well-known
|
||||
|
||||
exclude:
|
||||
- Gemfile
|
||||
- Gemfile.lock
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue