From dccaf7f85a0c10d99b3a70233aba644254df34fc Mon Sep 17 00:00:00 2001 From: Mayeul Cantan Date: Tue, 6 Apr 2021 14:49:38 +0200 Subject: [PATCH] Add X-Forwarded-Proto header Fixes https://github.com/YunoHost-Apps/synapse_ynh/issues/249 --- conf/nginx.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/conf/nginx.conf b/conf/nginx.conf index a08a7b7..9b12af0 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -1,6 +1,7 @@ location __PATH__ { proxy_pass http://localhost:__PORT__; proxy_set_header X-Forwarded-For $remote_addr; + proxy_set_header X-Forwarded-Proto $scheme; client_max_body_size 100M;