Compare commits

...

2 Commits

Author SHA1 Message Date
Stavros
2e4b6f2bee chore: format 2026-02-20 09:33:05 +01:00
Stavros
df2dca13e9 feat: log proxy headers in trace log 2026-02-20 10:31:29 +02:00

View File

@@ -94,6 +94,8 @@ func (controller *ProxyController) proxyHandler(c *gin.Context) {
proto := c.Request.Header.Get("X-Forwarded-Proto")
host := c.Request.Header.Get("X-Forwarded-Host")
tlog.App.Trace().Str("x-forwarded-proto", proto).Str("x-forwarded-host", host).Str("x-forwarded-uri", uri).Msg("Proxy headers")
// Get acls
acls, err := controller.acls.GetAccessControls(host)