I have Mod_headers installed and active on my server, I know that Craft adds some headers from PHP but only for Control Panel requests. How can I add security headers to the front-end?
Craft CMS Stack Exchange is a question and answer site for administrators, end users, developers and designers for Craft CMS. It only takes a minute to sign up.Sign up to join this community
Since you mentioned
mod_headers, you can add headers at the web-server level using
.htaccess and Apache's
header set command: https://httpd.apache.org/docs/2.4/mod/mod_headers.html