Re: httpd: add custom HTTP header support #2

Job Snijders <[email protected]> Mon, 20 Jul 2026 10:31:23 +0000
Newsgroups gmane.os.openbsd.tech
Message-ID <[email protected]>
Cool. Code seems to work for me:

        location "/.well-known/erik/index/*" {
                header set "Content-Type" "application/rpki-erikindex"
		...
	}

$ curl -I -s --out-null -w '%header{content-type}\n' https://miso.sobornost.net/.well-known/erik/index/rpki.ripe.net
application/rpki-erikindex