Route BIM viewer through NodeDC platform
This commit is contained in:
@@ -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}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user