Browse Source
Serve /.well-known/matrix/server with proper Content-Type
pull/245/head
Slavi Pantaleev
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
3 additions and
0 deletions
-
examples/apache/matrix-synapse.conf
|
|
|
@@ -56,6 +56,9 @@ |
|
|
|
<Files "/matrix/static-files/.well-known/matrix/server"> |
|
|
|
Require all granted |
|
|
|
</Files> |
|
|
|
<Location "/.well-known/matrix/server"> |
|
|
|
Header always set Content-Type "application/json" |
|
|
|
</Location> |
|
|
|
<Directory /matrix/static-files/.well-known/matrix/> |
|
|
|
AllowOverride All |
|
|
|
# Apache 2.4: |
|
|
|
|