Wednesday, June 19, 2019

Re: Transparent 301-to-https redirection with relayd

openbsd@phbits.com writes:
> Try this for relayd.conf
>
> table <web> { 127.0.0.1 }
>
> http protocol httpfilter {
> return error
> match request header "Host" value "www.openbsd.org" tag "HOST_OK"
> block request
> pass tagged "HOST_OK"
> }

That blocks every host not in the list, whereas I want to pass every
unlisted host through unmolested.

--
Anthony J. Bentley

No comments:

Post a Comment