Neuaufbau: Astro 5, Anfrage statt Buchung, Kundenkarte, Design-Tokens, SEO/GEO, Security-Header
This commit is contained in:
1 parent
49afd192ef
commit
0aa72718a0
86 files changed
+9743
-1079
No files matched your search
@@ -0,0 +1,14 @@
|
||||
# Sicherheits-Header. Wird in jedem location-Block eingebunden,
|
||||
# weil nginx add_header aus dem server-Block sonst nicht vererbt.
|
||||
add_header Content-Security-Policy "default-src 'self'; script-src 'self'; style-src 'self'; img-src 'self' data:; font-src 'self'; connect-src 'self' https://vk-karte.heidrich-digital.de; form-action 'self' https://vk-karte.heidrich-digital.de; frame-ancestors 'none'; base-uri 'self'; object-src 'none'; manifest-src 'self'; upgrade-insecure-requests" always;
|
||||
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
||||
add_header X-Content-Type-Options "nosniff" always;
|
||||
add_header Referrer-Policy "strict-origin-when-cross-origin" always;
|
||||
add_header X-Frame-Options "DENY" always;
|
||||
add_header Permissions-Policy "camera=(), microphone=(), geolocation=(), payment=(), usb=(), browsing-topics=()" always;
|
||||
add_header Cross-Origin-Opener-Policy "same-origin" always;
|
||||
|
||||
# VORSCHAU: nicht indexieren.
|
||||
# Beim Livegang diese Zeile löschen UND in src/layouts/Base.astro das
|
||||
# <meta name="robots" content="noindex, nofollow"> entfernen.
|
||||
add_header X-Robots-Tag "noindex, nofollow" always;
|
||||
Reference in new issue
Block a user