- Design auf Klarbild-Tokens umgestellt: Space Grotesk/Mono, Papier/Karte, Blau, Pills - Neues Logo und App-Icon: Klemmbrett mit Pfeil (Zwischenablage -> Datei) - Einfügen-Knopf liest die Zwischenablage direkt (HTML bevorzugt), Fallback-Hinweis - Mobil: 44px-Ziele, 16px-Eingaben, Safe-Area, Bottom-Sheet, Datei öffnen, Speichern per Teilen-Menü - Spenden-Knopf (PayPal) in Kopfzeile, Fußzeile und Rechtstexten; Datenschutz um PayPal und Zwischenablage ergänzt - Service Worker: Seiten network-first (Impressum/Datenschutz froren im Cache ein), Cache v4 - nginx: no-cache für Seiten - Listen mit einem Leerzeichen nach dem Aufzählungszeichen
48 lines
1.2 KiB
Nginx Configuration File
48 lines
1.2 KiB
Nginx Configuration File
server {
|
|
listen 80;
|
|
server_name _;
|
|
root /usr/share/nginx/html;
|
|
index index.html;
|
|
|
|
gzip on;
|
|
gzip_types text/html text/css application/javascript application/json image/svg+xml;
|
|
gzip_min_length 512;
|
|
|
|
include /etc/nginx/security-headers.conf;
|
|
|
|
location = /healthz {
|
|
access_log off;
|
|
add_header Content-Type text/plain;
|
|
return 200 "ok\n";
|
|
}
|
|
|
|
location /vendor/ {
|
|
include /etc/nginx/security-headers.conf;
|
|
expires 30d;
|
|
add_header Cache-Control "public, immutable";
|
|
}
|
|
|
|
location = /sw.js {
|
|
include /etc/nginx/security-headers.conf;
|
|
add_header Cache-Control "no-cache";
|
|
}
|
|
|
|
location = /manifest.webmanifest {
|
|
include /etc/nginx/security-headers.conf;
|
|
default_type application/manifest+json;
|
|
add_header Cache-Control "no-cache";
|
|
}
|
|
|
|
location = /index.html {
|
|
include /etc/nginx/security-headers.conf;
|
|
add_header Cache-Control "no-cache";
|
|
}
|
|
|
|
# Pages and icons revalidate on every load, so a deploy reaches users immediately.
|
|
location / {
|
|
include /etc/nginx/security-headers.conf;
|
|
add_header Cache-Control "no-cache";
|
|
try_files $uri $uri.html $uri/ /index.html;
|
|
}
|
|
}
|