Hi,
When I setup cache in nginix config like this:
location ~* \.(jpg|jpeg|png|gif|woff|woff2|ico)$ {
expires 30d;
}
location ~* \.(css|js)$ {
expires 7d;
}
I can’t delete or change image in articles, it gives me error JSON API response error and I can’t access image also. Do anyone have ideas what can cause this issue?
My article.yml:
title: Article
num: date
icon: 📖
status:
draft:
label: Draft
text: The note is still in draft mode. It can only be seen by editors with panel access.
unlisted:
label: In Review
text: The note is online and can be visited with the direct URL. The team must still give the final go to publish it.
listed:
label: Published
text: The note is online and listed in the blog
columns:
- width: 2/3
fields:
text:
type: textarea
size: large
- width: 1/3
sections:
image:
label: Cover
type: files
template: image
image:
cover: true
info: "{{ file.dimensions }}"
multiple: false
Br, Ron