浏览代码

Serve /.well-known/matrix/server with proper Content-Type

pull/245/head
Slavi Pantaleev 7 年前
committed by GitHub
父节点
当前提交
d675cb3d4b
找不到此签名对应的密钥 GPG 密钥 ID: 4AEE18F83AFDEB23
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. +3
    -0
      examples/apache/matrix-synapse.conf

+ 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:


正在加载...
取消
保存