♻️ Refactor file persistence layer.

This commit is contained in:
Andrey Antukh 2020-09-07 10:56:42 +02:00 committed by Alonso Torres
parent 182afedc54
commit 4e694ff194
86 changed files with 3205 additions and 3313 deletions

View file

@ -49,7 +49,7 @@ services:
smtp:
container_name: "uxbox-devenv-smtp"
image: mwader/postfix-relay
image: mwader/postfix-relay:latest
restart: always
environment:
- POSTFIX_myhostname=smtp.uxbox.io
@ -75,7 +75,7 @@ services:
- postgres_data:/var/lib/postgresql/data
redis:
image: redis:6.0.6
image: redis:6
hostname: "uxbox-devenv-redis"
container_name: "uxbox-devenv-redis"
restart: always

View file

@ -62,14 +62,7 @@ http {
location / {
root /home/uxbox/uxbox/frontend/resources/public;
try_files $uri /index.html;
location ~* \.(js|css).*$ {
add_header Cache-Control "max-age=86400" always; # 24 hours
}
location = /index.html {
add_header Cache-Control "no-cache, max-age=0";
}
add_header Cache-Control "no-cache, max-age=0";
}
location /api {