From 1344ca624b0ce1527d494a025c986722f8ecad44 Mon Sep 17 00:00:00 2001 From: MichiK <michik@michik.net> Date: Wed, 23 Dec 2020 01:26:15 +0100 Subject: [PATCH] Fix nginx config for HedgeDoc --- host_vars/gabriel.c3heaven.de | 1 + 1 file changed, 1 insertion(+) diff --git a/host_vars/gabriel.c3heaven.de b/host_vars/gabriel.c3heaven.de index eff4a1e..81a6017 100644 --- a/host_vars/gabriel.c3heaven.de +++ b/host_vars/gabriel.c3heaven.de @@ -92,6 +92,7 @@ nginx_https_sites: proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header Host $host; proxy_http_version 1.1; proxy_pass http://127.0.0.1:3000; -- GitLab