On Fri, 19 Apr 2024 13:30:47 +0200,
Luca Leone wrote:
> 
> I'll keep working on it, but after a couple of days spent on this stuff I'm 
> starting to think that maybe to serve my node app there should be an easier 
> way than openbsd ;)
>

I guess you mean someting like that?

  table <app> { 127.0.0.1 }

  http protocol https {
      match request header append "X-Forwarded-For" value "$REMOTE_ADDR"

      tls keypair birbi.biz:443
      pass request forward to <app>
  }

  relay https {
      listen on egress port https tls
      protocol https

      forward to <app> port 3000
  }

-- 
wbr, Kirill

Reply via email to