From 57cca47a485dfb7caa794e170fc8a22c33e4cdbb Mon Sep 17 00:00:00 2001 From: Ori Hoch Date: Mon, 22 Oct 2018 21:27:01 +0300 Subject: [PATCH] prefix data path with __ to prevent problems with service worker --- .../internal-search-ui/templates/nginx-configmap.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/charts-external/internal-search-ui/templates/nginx-configmap.yaml b/charts-external/internal-search-ui/templates/nginx-configmap.yaml index 2c167e2..e1a4f35 100644 --- a/charts-external/internal-search-ui/templates/nginx-configmap.yaml +++ b/charts-external/internal-search-ui/templates/nginx-configmap.yaml @@ -10,9 +10,9 @@ data: auth_basic "Restricted Content"; auth_basic_user_file /etc/nginx/htpasswd/secret-nginx-htpasswd; - location /data/ { + location /__data/ { index null; - root /; + alias /data/; autoindex on; }