View Single Post
  #2   (View Single Post)  
Old 29th September 2022
billy_bazooka billy_bazooka is offline
Port Guard
 
Join Date: Sep 2016
Posts: 31
Default

Code:
ip4="xxx.xxx.xxx.xxx"

table <service1> { 127.0.0.1 }
log connection

http protocol https {
        match request header append "X-Forwarded-For" value "$REMOTE_ADDR"
        match request header append "X-Forwarded-By" value "$SERVER_ADDR:$SERVER_PORT"
        match request header set "Connection" value "close"
        tcp { sack, backlog 128 }
        tls { keypair badda.bing.org }
        match request header "Host" value "badda.bing.org" forward to <service1>
}

relay wwwtls {
        listen on $ip4 port 443 tls
        protocol https
        forward to <service1> port 8080 check icmp
}
It seems this one is working.
https request get me my website, yes it is working.
Reply With Quote