support responseHeaders.set for proxy type http (#4192)

This commit is contained in:
fatedier
2024-04-29 15:53:45 +08:00
committed by GitHub
parent d0d396becb
commit e81b36c5ba
9 changed files with 65 additions and 16 deletions

View File

@@ -209,6 +209,7 @@ locations = ["/", "/pic"]
# routeByHTTPUser = abc
hostHeaderRewrite = "example.com"
requestHeaders.set.x-from-where = "frp"
responseHeaders.set.foo = "bar"
healthCheck.type = "http"
# frpc will send a GET http request '/status' to local http service
# http service is alive when it return 2xx http response code