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;