3 ms·
what would you recommend for someone needing to add headers?
by abiox 8y ago
what would you recommend for someone needing to add headers?
- sedachv 8y agoI had the same issue (wanted to add a Content-Security-Policy header to a site hosted on OpenBSD httpd) and switched to https://www.lighttpd.net/ https://www.lighttpd.net/
- stevekemp 8y agoIf you're using httpd you'd probably pair it with relayd. With relayd you can add custom headers, as this random example shows: https://github.com/reyk/httpd/wiki/Using-relayd-to-add-Cache-Control-headers-to-httpd-traffic https://github.com/reyk/httpd/wiki/Using-relayd-to-add-Cache... However that's probably not great still, because it's a global solution to a per-file problem.