瀏覽代碼

Merge pull request #950 from aaronraimist/x-forwarded-proto-federation

Set X-Forwarded-Proto on federation requests
pull/955/head^2
Slavi Pantaleev 5 年之前
committed by GitHub
父節點
當前提交
ff882ceb66
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: 4AEE18F83AFDEB23
共有 1 個檔案被更改,包括 1 行新增0 行删除
  1. +1
    -0
      roles/matrix-nginx-proxy/templates/nginx/conf.d/matrix-domain.conf.j2

+ 1
- 0
roles/matrix-nginx-proxy/templates/nginx/conf.d/matrix-domain.conf.j2 查看文件

@@ -241,6 +241,7 @@ server {

proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;

client_body_buffer_size 25M;
client_max_body_size {{ matrix_nginx_proxy_proxy_matrix_federation_api_client_max_body_size_mb }}M;


Loading…
取消
儲存