From c236bb47e62f300a02dc3829ab8ac01062e022b8 Mon Sep 17 00:00:00 2001 From: Antun Franjin Date: Fri, 5 Nov 2021 13:17:41 +0100 Subject: [PATCH] Semcast admintation reload fix deployment. --- dev/semcust/deployment.yaml | 7 +++++++ qa/semcust/deployment.yaml | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/dev/semcust/deployment.yaml b/dev/semcust/deployment.yaml index 8dcbd56..017b5ea 100644 --- a/dev/semcust/deployment.yaml +++ b/dev/semcust/deployment.yaml @@ -125,6 +125,13 @@ data: try_files $uri $uri /index.html =404; } + location /administration { + root /srv/semcust; + #add_header X-Frame-Options "SAMEORIGIN"; + index index.html index.htm; + try_files $uri $uri /index.html =404; + } + location ~ ^/api { proxy_pass http://backend; proxy_redirect off; diff --git a/qa/semcust/deployment.yaml b/qa/semcust/deployment.yaml index 355f9ea..cc2fb61 100644 --- a/qa/semcust/deployment.yaml +++ b/qa/semcust/deployment.yaml @@ -124,6 +124,13 @@ data: try_files $uri $uri /index.html =404; } + location /administration { + root /srv/semcust; + #add_header X-Frame-Options "SAMEORIGIN"; + index index.html index.htm; + try_files $uri $uri /index.html =404; + } + location ~ ^/api { proxy_pass http://backend; proxy_redirect off;