瀏覽代碼

Serve a non-scary page at the matrix domain

Fixes #18 (Github issue).

It would probably be better if we serve our own page,
as the Matrix one says:

"To use this server you'll need a Matrix client", which
is true, but we install Riot by default and it'd be better if we mention
that instead.
pull/61/head
Slavi Pantaleev 7 年之前
父節點
當前提交
12b65d8ccc
共有 1 個檔案被更改,包括 4 行新增0 行删除
  1. +4
    -0
      roles/matrix-server/templates/nginx-conf.d/matrix-synapse.conf.j2

+ 4
- 0
roles/matrix-server/templates/nginx-conf.d/matrix-synapse.conf.j2 查看文件

@@ -105,4 +105,8 @@ server {
client_max_body_size {{ matrix_synapse_max_upload_size_mb }}M; client_max_body_size {{ matrix_synapse_max_upload_size_mb }}M;
proxy_max_temp_file_size 0; proxy_max_temp_file_size 0;
} }

location / {
set $location "/_matrix/static/";
}
} }

Loading…
取消
儲存