浏览代码
Serve /.well-known/matrix/server with proper Content-Type
pull/245/head
Slavi Pantaleev
7 年前
committed by
GitHub
找不到此签名对应的密钥
GPG 密钥 ID: 4AEE18F83AFDEB23
共有
1 个文件被更改,包括
3 次插入 和
0 次删除
-
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: |
|
|
|
|