The Headers component theme for Cecil provides support of _headers file generation.
After installation and without any configuration, this component theme generate a _headers file containing HTTP headers created by Cecil (generated from headers' configuration).
Services that support the _headers file:
composer require cecil/theme-headersOr download the latest archive and uncompress its content in
themes/headers.
Add headers in the theme section of your site configuration:
theme:
- headersserver:
headers:
- path: <path> # Relative path, prefixed with a slash. Support "*" wildcard.
headers:
- key: <key>
value: "<value>"Documentation: https://cecil.app/documentation/configuration/#server-headers