Просмотр исходного кода

Merge branch 'master' into bye-bye-nginx-proxy

pull/3093/head
Slavi Pantaleev 2 лет назад
Родитель
Сommit
f83c221fda
2 измененных файлов: 2 добавлений и 2 удалений
  1. +1
    -2
      docs/configuring-well-known.md
  2. +1
    -0
      roles/custom/matrix-ma1sd/tasks/main.yml

+ 1
- 2
docs/configuring-well-known.md Просмотреть файл

@@ -170,10 +170,9 @@ backend matrix-backend
rsprep ^Location:\ (http|https)://matrix.example.com\/(.*) Location:\ \1://matrix.example.com/.well-known/matrix/\2 if response-is-redirect
```

**For Netlify**, it would be something like this:
**For Netlify**, configure a [redirect](https://docs.netlify.com/routing/redirects/) using a `_redirects` file in the [publish directory](https://docs.netlify.com/configure-builds/overview/#definitions) with contents like this:

```
# In the _redirects file in the website's root
/.well-known/matrix/* https://matrix.example.com/.well-known/matrix/:splat 200!
```



+ 1
- 0
roles/custom/matrix-ma1sd/tasks/main.yml Просмотреть файл

@@ -13,6 +13,7 @@
ansible.builtin.include_tasks: "{{ role_path }}/tasks/setup_install.yml"

- tags:
- setup-all
- setup-ma1sd
block:
- when: not matrix_ma1sd_enabled | bool


Загрузка…
Отмена
Сохранить