Browse Source

Trying to load static for efc admin

feat/rm-qa
Antun Franjin 4 years ago
parent
commit
136d9e431b
  1. 19
      dev/efc/deployment.yaml

19
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;

Loading…
Cancel
Save