Template
Firmendaten durch Platzhalter ersetzt (Mustermann Haustechnik GmbH, Musterstraße 1, 12345 Musterstadt, 01234 567890, example.com), Design und Funktionen unverändert. - Feiertage im Öffnungsstatus per BUNDESLAND (alle 16 Länder) statt fest Bayern - Datenschutz: Aufsichtsbehörde als TODO je Bundesland - Skript-Namensraum olz -> hsk, Logo-SVG und OG-Bild neu - .webklar-preview.json von Olzinger entfernt (sonst Deploy auf olzinger) - .gitea/template: neue Repos aus der Vorlage erben die Preview-Datei nicht - README: Anleitung für neue HSK-Seiten, Platzhalter-Tabelle, Checkliste Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
34 lines
1.2 KiB
ApacheConf
34 lines
1.2 KiB
ApacheConf
# HSK-Vorlage – Apache-Konfiguration (optional)
|
||
# Alle Blöcke sind abgesichert, damit fehlende Module keinen Serverfehler auslösen.
|
||
|
||
ErrorDocument 404 /404.html
|
||
|
||
<IfModule mod_mime.c>
|
||
AddType font/woff2 .woff2
|
||
AddType image/svg+xml .svg
|
||
AddType application/manifest+json .webmanifest
|
||
</IfModule>
|
||
|
||
<IfModule mod_headers.c>
|
||
Header always set X-Content-Type-Options "nosniff"
|
||
Header always set Referrer-Policy "strict-origin-when-cross-origin"
|
||
Header always set X-Frame-Options "SAMEORIGIN"
|
||
Header always set Permissions-Policy "camera=(), microphone=(), geolocation=()"
|
||
</IfModule>
|
||
|
||
<IfModule mod_expires.c>
|
||
ExpiresActive On
|
||
ExpiresByType text/html "access plus 0 seconds"
|
||
ExpiresByType text/css "access plus 1 week"
|
||
ExpiresByType application/javascript "access plus 1 week"
|
||
ExpiresByType text/javascript "access plus 1 week"
|
||
ExpiresByType font/woff2 "access plus 1 year"
|
||
ExpiresByType image/svg+xml "access plus 1 month"
|
||
ExpiresByType image/png "access plus 1 month"
|
||
ExpiresByType image/jpeg "access plus 1 month"
|
||
</IfModule>
|
||
|
||
<IfModule mod_deflate.c>
|
||
AddOutputFilterByType DEFLATE text/html text/css application/javascript text/javascript image/svg+xml application/json
|
||
</IfModule>
|