|
|
|
@ -57,9 +57,6 @@ spec: |
|
|
|
volumeMounts: |
|
|
|
- mountPath: /opt/efc/storage |
|
|
|
name: efc-pv-dev |
|
|
|
- mountPath: /opt/efc/static |
|
|
|
name: efc-dev-static |
|
|
|
envFrom: |
|
|
|
- configMapRef: |
|
|
|
name: efc-dev-config-dev |
|
|
|
volumes: |
|
|
|
@ -69,7 +66,6 @@ spec: |
|
|
|
- name: efc-pv-dev |
|
|
|
persistentVolumeClaim: |
|
|
|
claimName: efc-pvc-dev |
|
|
|
- name: efc-dev-static |
|
|
|
|
|
|
|
--- |
|
|
|
# Persistent Volume Claim description |
|
|
|
@ -178,7 +174,20 @@ data: |
|
|
|
proxy_read_timeout 300s; |
|
|
|
proxy_send_timeout 300s; |
|
|
|
send_timeout 300s; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
location /static-backend { |
|
|
|
proxy_pass http://backend; |
|
|
|
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; |
|
|
|
|
|
|
|
|