Adding headers to Linux through Plesk

How to add headers to Linux Plesk server.
  1. Log into Plesk. 
  2. Click on subscriptions and click the domain. 
  3. Then go to Apache & nginx Settings.
  4. About half way down is the Additional headers section.
  5. Normally set to default.  Click the Enter Custom value radio button. 
  6. Then you can add in your headers.
                                --Examples--
  • Content-Security-Policy: frame-ancestors 'self'
  • X-Frame-Options: SAMEORIGIN
  • X-Content-Type-Options: nosniff
  • Strict-Transport-Security: max-age=63072000
  • X-XSS-Protection: 1; mode=block
 
This was the site the customer was asking about to help make these changes
 
 

Add Feedback