From 07bfbcc2d1746a3fdce080088fa07bf9a91893a2 Mon Sep 17 00:00:00 2001 From: Antun Franjin Date: Fri, 5 Nov 2021 12:00:28 +0100 Subject: [PATCH] Fixed after reload 404 becaouse of route of administration. --- dev/efc/deployment.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/dev/efc/deployment.yaml b/dev/efc/deployment.yaml index 7410411..b1c6e0c 100644 --- a/dev/efc/deployment.yaml +++ b/dev/efc/deployment.yaml @@ -135,6 +135,12 @@ data: try_files $uri $uri /index.html =404; } + location /administration { + root /srv/efc; + index index.html index.htm; + try_files $uri $uri /index.html =404; + } + location ~ ^/api { proxy_pass http://backend; proxy_redirect off;