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
+10
View File
@@ -48,6 +48,16 @@ http://{$TASK_DOMAIN} {
}
}
http://{$BIM_DOMAIN:bim.nodedc.ru} {
reverse_proxy {$SYNOLOGY_BIM_VIEWER_UPSTREAM:ndc-beam-viewer:8080} {
header_up Host {http.request.host}
header_up X-Forwarded-Host {http.request.host}
header_up X-Forwarded-Proto {scheme}
header_up X-Forwarded-Port {$NODEDC_PUBLIC_HTTP_PORT}
header_up X-Forwarded-For {remote_host}
}
}
http://id.nodedc.ru {
@auth_admin path /if/admin /if/admin/*
respond @auth_admin 404