You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be nice if there was an easy way to retrieve this information, but this module appears to take into account forwarded connections (via Proxy), among other things. Ideally, we could just get this information from the context, but I couldn't easily find it... I had started with something like:
... which sorta worked until I deployed into K8s, where the load balancer was offloading https, then I needed to start looking at headers, and stumbled into this module. Instead of deleting it, we should probably "improve" it??
we should more educate people about
*http.Request
,*gin.Context
and Gin's MidlewareThe text was updated successfully, but these errors were encountered: