astro-site-filesv0.5.0

← All examples

security.txt

Written to .well-known/ per RFC 9116, with an Expires date 180 days after this build.

security.txt

dist/.well-known/security.txt
// site/src/site-files.ts
export const security: SecurityOptions = {
  contact: 'mailto:info@casoon.de',
  // RFC 9116 recommends less than a year; every build moves the date forward.
  expires: new Date(Date.now() + 180 * 24 * 60 * 60 * 1000),
  preferredLanguages: ['en', 'de'],
  canonical: `${home}.well-known/security.txt`,
};
Contact: mailto:info@casoon.de
Expires: 2027-03-26T15:09:41.022Z
Preferred-Languages: en, de
Canonical: https://casoon.github.io/astro-site-files/.well-known/security.txt
  • security
  • rfc 9116