Set short max_age for list.json

This commit is contained in:
sfan5
2024-11-03 12:42:37 +01:00
parent 5d191896f3
commit 4d320bbcf5
2 changed files with 5 additions and 3 deletions

View File

@@ -102,6 +102,8 @@ root /path/to/server/static;
rewrite ^/$ /index.html break;
rewrite ^/list$ /list.json break;
location = /list.json { expires 20s; }
try_files $uri @uwsgi;
location @uwsgi {
include uwsgi_params;