소스 검색

Set X-Forwarded-Proto on federation requests

pull/950/head
Aaron Raimist 5 년 전
부모
커밋
32b3650c12
No known key found for this signature in database GPG 키 ID: 37419210002890EF
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;


불러오는 중...
취소
저장