Bläddra i källkod

Fix port typo

pull/326/head
Slavi Pantaleev 6 år sedan
committed by GitHub
förälder
incheckning
df83dfb2e1
Ingen känd nyckel hittad för denna signaturen i databasen GPG-nyckel ID: 4AEE18F83AFDEB23
1 ändrade filer med 2 tillägg och 2 borttagningar
  1. +2
    -2
      docs/configuring-playbook-own-webserver.md

+ 2
- 2
docs/configuring-playbook-own-webserver.md Visa fil

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

Laddar…
Avbryt
Spara