From 136d9e431b99aaafd40f4cdc60345f0d25479508 Mon Sep 17 00:00:00 2001 From: Antun Franjin Date: Wed, 3 Nov 2021 09:52:39 +0100 Subject: [PATCH] Trying to load static for efc admin --- dev/efc/deployment.yaml | 19 ++----------------- 1 file changed, 2 insertions(+), 17 deletions(-) diff --git a/dev/efc/deployment.yaml b/dev/efc/deployment.yaml index 39a78aa..90efc44 100644 --- a/dev/efc/deployment.yaml +++ b/dev/efc/deployment.yaml @@ -70,7 +70,7 @@ spec: persistentVolumeClaim: claimName: efc-pvc-dev - name: efc-dev-static - emptyDir: {} + --- # Persistent Volume Claim description apiVersion: v1 @@ -172,22 +172,7 @@ data: proxy_read_timeout 300s; proxy_send_timeout 300s; send_timeout 300s; - } - - location /static { - proxy_pass http://backend/static; - proxy_redirect off; - - proxy_set_header Host $host; - proxy_set_header X-Real-IP $remote_addr; - proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; - - proxy_read_timeout 300s; - proxy_send_timeout 300s; - send_timeout 300s; - } - - + } error_page 404 =200 /index.html;