Slavi Pantaleev 6 лет назад
committed by GitHub
Родитель
Сommit
df83dfb2e1
Не найден GPG ключ соответствующий данной подписи Идентификатор GPG ключа: 4AEE18F83AFDEB23
1 измененных файлов: 2 добавлений и 2 удалений
  1. +2
    -2
      docs/configuring-playbook-own-webserver.md

+ 2
- 2
docs/configuring-playbook-own-webserver.md Просмотреть файл

@@ -176,7 +176,7 @@ matrix_synapse_container_extra_arguments:

This method uses labels attached to the Nginx and Synapse containers to provide the Traefik Docker provider with the information it needs to proxy `matrix.DOMAIN`, `riot.DOMAIN`, and `dimension.DOMAIN`. Some [static configuration](https://docs.traefik.io/v2.0/reference/static-configuration/file/) is required in Traefik; namely, having endpoints on ports 443 and 8448 and having a certificate resolver.

Note that this configuration on its own does **not** redirect traffic on port 80 (plain HTTP) to port 433 for HTTPS, which may cause some issues, since the built-in Nginx proxy usually does this. If you are not already doing this in Traefik, it can be added to Traefik in a [file provider](https://docs.traefik.io/v2.0/providers/file/) as follows:
Note that this configuration on its own does **not** redirect traffic on port 80 (plain HTTP) to port 443 for HTTPS, which may cause some issues, since the built-in Nginx proxy usually does this. If you are not already doing this in Traefik, it can be added to Traefik in a [file provider](https://docs.traefik.io/v2.0/providers/file/) as follows:

```toml
[http]
@@ -194,4 +194,4 @@ Note that this configuration on its own does **not** redirect traffic on port 80
[http.middlewares.https.redirectscheme]
scheme = "https"
permanent = true
```
```

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