improve store

This commit is contained in:
Worph
2026-10-03 17:56:57 +02:00
parent d21e5d93ed
commit a07b28b10c
9 changed files with 526 additions and 4 deletions
+19
View File
@@ -0,0 +1,19 @@
# IPCR Forge landing page. Static, plus IPCR's published.json as /images.json.
# No nginx variables on purpose: this file is also safe to render as a Maison template.
server {
listen 8080;
server_tokens off;
root /usr/share/nginx/html;
index index.html;
location = /images.json {
alias /srv/ipcr-state/published.json;
default_type application/json;
add_header Cache-Control "no-store";
}
# Only the page and its icon; nothing else under the state directory is reachable.
location / {
add_header Cache-Control "no-cache";
}
}