Re: Transparent 301-to-https redirection with relayd

2019-06-19 Thread Anthony J. Bentley
open...@phbits.com writes: > Try this for relayd.conf > > table { 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" > }

Re: Transparent 301-to-https redirection with relayd

2019-06-19 Thread open...@phbits.com
relay "proxy" { listen on 127.0.0.1 port 8080 protocol httpfilter forward to port 8081 } From: owner-m...@openbsd.org on behalf of Anthony J. Bentley Sent: Wednesday, June 19, 2019 4:19 AM To:

Transparent 301-to-https redirection with relayd

2019-06-19 Thread Anthony J. Bentley
Hi, I have relayd configured as a basic HTTP pass-through: http protocol httpfilter { return error } relay "proxy" { listen on 127.0.0.1 port 8080 protocol httpfilter forward to destination } I'd like to prevent certain domains