1
0

Revert "Revert "Integrate Configurator (#238)"" + remove recommended configurator (#260)

This commit is contained in:
Andrew Camilleri
2020-01-21 15:20:09 +01:00
committed by Nicolas Dorier
parent db25da9346
commit eb181b57cc
6 changed files with 73 additions and 0 deletions

View File

@@ -80,6 +80,20 @@
proxy_set_header X-Forwarded-Port 443;
proxy_set_header X-Forwarded-Proto https;
proxy_pass http://btctransmuter;
}
{{ end }}
{{ if (eq $serviceName "configurator") }}
location /configurator/ {
proxy_set_header Connection "";
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Host $host:443;
proxy_set_header X-Forwarded-Server $host;
proxy_set_header X-Forwarded-Port 443;
proxy_set_header X-Forwarded-Proto https;
proxy_pass http://configurator;
}
{{ end }}
{{ end }}