providers/proxy: envoy v2 (#3029)

* add path prefix

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>

* use prefix correctly

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>

* only set redirect if session doesn't have a redirect yet

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens L
2022-06-03 10:32:52 +02:00
committed by GitHub
parent 09f92e5bad
commit 8447e9b9c2
5 changed files with 17 additions and 16 deletions

View File

@ -136,7 +136,6 @@ func NewApplication(p api.ProxyOutpostConfig, c *http.Client, cs *ak.CryptoStore
"type": "app",
"method": r.Method,
"host": web.GetHost(r),
"scheme": r.URL.Scheme,
}).Observe(float64(after))
})
})