Bläddra i källkod

Update configuring-well-known.md

pull/1820/head
brush 4 år sedan
committed by GitHub
förälder
incheckning
34de6c9c66
Ingen känd nyckel hittad för denna signaturen i databasen GPG-nyckel ID: 4AEE18F83AFDEB23
1 ändrade filer med 3 tillägg och 4 borttagningar
  1. +3
    -4
      docs/configuring-well-known.md

+ 3
- 4
docs/configuring-well-known.md Visa fil

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

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

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

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
</VirtualHost>


Laddar…
Avbryt
Spara