From 359c7b09bcd18bd6fb9724074861b195d0e8ff89 Mon Sep 17 00:00:00 2001 From: bendia Date: Sun, 7 Feb 2021 11:26:41 +0100 Subject: [PATCH] Add prox_set_header X-scheme $scheme From Octoprint reverse proxy configuration examples --- conf/nginx.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/conf/nginx.conf b/conf/nginx.conf index e76acd3..e29cd53 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -11,6 +11,7 @@ location / { proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "Upgrade"; + proxy_set_header X-Scheme $scheme; # Include SSOWAT user panel. include conf.d/yunohost_panel.conf.inc;