瀏覽代碼
Serve /.well-known/matrix/server with proper Content-Type
pull/245/head
Slavi Pantaleev
7 年之前
committed by
GitHub
沒有發現已知的金鑰在資料庫的簽署中
GPG Key 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: |
|
|
|
|