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

Merge pull request #1820 from brush/master

Suggested fix to docs for reverse proxy for well-known file
pull/1821/head
Slavi Pantaleev 3 лет назад
committed by GitHub
Родитель
Сommit
fb8af6c678
Не найден GPG ключ соответствующий данной подписи Идентификатор GPG ключа: 4AEE18F83AFDEB23
1 измененных файлов: 3 добавлений и 4 удалений
  1. +3
    -4
      docs/configuring-well-known.md

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

@@ -98,16 +98,15 @@ server {
} }
``` ```


**For Apache**, it would be something like this:
**For Apache2**, it would be something like this:


```apache ```apache
<VirtualHost *:443> <VirtualHost *:443>
ServerName DOMAIN ServerName DOMAIN


SSLProxyEngine on SSLProxyEngine on
<Location /.well-known/matrix>
ProxyPass "https://matrix.DOMAIN/.well-known/matrix"
</Location>
ProxyPass /.well-known/matrix https://matrix.DOMAIN/.well-known/matrix nocanon
ProxyPassReverse /.well-known/matrix https://matrix.DOMAIN/.well-known/matrix nocanon


# other configuration # other configuration
</VirtualHost> </VirtualHost>


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