Route BIM viewer through NodeDC platform

This commit is contained in:
Codex
2026-06-18 21:43:04 +03:00
parent 390907cc9c
commit 83cca4224b
4 changed files with 35 additions and 0 deletions
+8
View File
@@ -45,3 +45,11 @@ http://{$TASK_DOMAIN:task.local.nodedc} {
header_up X-Forwarded-For {remote_host}
}
}
http://{$BIM_DOMAIN:bim.local.nodedc} {
reverse_proxy {$LOCAL_BIM_VIEWER_UPSTREAM:host.docker.internal:8080} {
header_up Host {host}
header_up X-Forwarded-Proto {scheme}
header_up X-Forwarded-For {remote_host}
}
}
+16
View File
@@ -14,6 +14,10 @@ http://{$TASK_DOMAIN} {
redir https://{host}{uri} permanent
}
http://{$BIM_DOMAIN} {
redir https://{host}{uri} permanent
}
{$AUTH_DOMAIN} {
header {
Strict-Transport-Security "max-age=31536000; includeSubDomains"
@@ -55,3 +59,15 @@ http://{$TASK_DOMAIN} {
header_up X-Forwarded-For {remote_host}
}
}
{$BIM_DOMAIN} {
header {
Strict-Transport-Security "max-age=31536000; includeSubDomains"
}
reverse_proxy {$STAGING_BIM_VIEWER_UPSTREAM} {
header_up Host {host}
header_up X-Forwarded-Proto {scheme}
header_up X-Forwarded-For {remote_host}
}
}