reyk / httpd

OpenBSD httpd
Other
313 stars 31 forks source link

Support for X-Content-Type-Options etc. #87

Open TobiasEgg opened 3 months ago

TobiasEgg commented 3 months ago

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

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