1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/octoprint_ynh.git synced 2024-09-03 19:46:26 +02:00

Add prox_set_header X-scheme $scheme

From Octoprint reverse proxy configuration examples
This commit is contained in:
bendia 2021-02-07 11:26:41 +01:00 committed by Alexis Lothoré
parent 0c9b061179
commit a2ce9e4aed

View file

@ -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;