mirror of
https://github.com/steveiliop56/tinyauth.git
synced 2026-02-22 17:02:01 +00:00
Compare commits
2 Commits
v5.0.0-alp
...
steveiliop
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2e4b6f2bee | ||
|
|
df2dca13e9 |
@@ -94,6 +94,8 @@ func (controller *ProxyController) proxyHandler(c *gin.Context) {
|
|||||||
proto := c.Request.Header.Get("X-Forwarded-Proto")
|
proto := c.Request.Header.Get("X-Forwarded-Proto")
|
||||||
host := c.Request.Header.Get("X-Forwarded-Host")
|
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
|
// Get acls
|
||||||
acls, err := controller.acls.GetAccessControls(host)
|
acls, err := controller.acls.GetAccessControls(host)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user