瀏覽代碼
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: |
|
|
|
|