summaryrefslogtreecommitdiffstats
path: root/installation/sdnc-web/src/main/resources
diff options
context:
space:
mode:
authorMichael Dürre <michael.duerre@highstreet-technologies.com>2020-02-28 10:39:19 +0100
committerMichael Dürre <michael.duerre@highstreet-technologies.com>2020-02-28 10:39:38 +0100
commitec8321bb9ae5dd2b9b6696da5f64c60055e97a55 (patch)
tree0a7c209f0892f554fcf672891b3c12f678991b14 /installation/sdnc-web/src/main/resources
parente88cf0263ee372d52af3af171f78c30c97f6fcb9 (diff)
fixed sdncweb helpserver
fixed unresolved meta.json for helpserver Issue-ID: SDNC-1089 Signed-off-by: Michael Dürre <michael.duerre@highstreet-technologies.com> Change-Id: I58b30872bfe4260f8be1c0ade870f8b3d3698798 Former-commit-id: a8786c7978848bf99e8f437fb0083fce94fdf00f
Diffstat (limited to 'installation/sdnc-web/src/main/resources')
-rw-r--r--installation/sdnc-web/src/main/resources/http_site.conf9
-rw-r--r--installation/sdnc-web/src/main/resources/https_site.conf8
2 files changed, 15 insertions, 2 deletions
diff --git a/installation/sdnc-web/src/main/resources/http_site.conf b/installation/sdnc-web/src/main/resources/http_site.conf
index e42ecc79..dd641418 100644
--- a/installation/sdnc-web/src/main/resources/http_site.conf
+++ b/installation/sdnc-web/src/main/resources/http_site.conf
@@ -48,8 +48,15 @@ server {
index index.html index.htm index.nginx-debian.html;
server_name _;
-
+
set $sdnrserver "SDNRHOST";
+
+ location ~ ^/$ {
+ return 301 /odlux/index.html;
+ }
+ location ~ /help/$ {
+ try_files /help/$args.json $uri;
+ }
location / {
try_files $uri $uri/ @backend;
}
diff --git a/installation/sdnc-web/src/main/resources/https_site.conf b/installation/sdnc-web/src/main/resources/https_site.conf
index 11ba7288..49afa079 100644
--- a/installation/sdnc-web/src/main/resources/https_site.conf
+++ b/installation/sdnc-web/src/main/resources/https_site.conf
@@ -69,7 +69,13 @@ server {
server_name _;
set $sdnrserver "SDNRHOST";
-
+
+ location ~ ^/$ {
+ return 301 /odlux/index.html;
+ }
+ location ~ /help/$ {
+ try_files /help/$args.json $uri;
+ }
location / {
try_files $uri $uri/ @backend;
}