httpd icon indicating copy to clipboard operation
httpd copied to clipboard

Support for X-Content-Type-Options etc.

Open TobiasEgg opened this issue 1 year ago • 0 comments

Good evening, with OpenHTTPd having a reputation for security, it would be great, if custom headers such as

  • X-Content-Type-Options
  • Content-Security-Policy
  • Referrer-Policy

could be added, e.g. by having a host specific config file feature. This could be as simple as "AddHeader X-Content-Type-Options Value". Obviously one could set up a proxy with relayd and built a work around, but this creates additional complexity, which again doesn't work with the concept of "keep it simple" in httpd. Regards Tobias

TobiasEgg avatar Jul 21 '24 20:07 TobiasEgg