Serve /.well-known/matrix/server with proper Content-Type
This commit is contained in:
parent
d55db2bee2
commit
d675cb3d4b
|
@ -56,6 +56,9 @@
|
||||||
<Files "/matrix/static-files/.well-known/matrix/server">
|
<Files "/matrix/static-files/.well-known/matrix/server">
|
||||||
Require all granted
|
Require all granted
|
||||||
</Files>
|
</Files>
|
||||||
|
<Location "/.well-known/matrix/server">
|
||||||
|
Header always set Content-Type "application/json"
|
||||||
|
</Location>
|
||||||
<Directory /matrix/static-files/.well-known/matrix/>
|
<Directory /matrix/static-files/.well-known/matrix/>
|
||||||
AllowOverride All
|
AllowOverride All
|
||||||
# Apache 2.4:
|
# Apache 2.4:
|
||||||
|
|
Loading…
Reference in a new issue