pbrisbin / bugsnag-haskell

Bugsnag error reporter for Haskell
10 stars 7 forks source link

Handle LB use-case in BugsnagRequest #5

Closed pbrisbin closed 6 years ago

pbrisbin commented 6 years ago

We currently set a scheme-less URL, since it's unlikely isSecure is accurate with SSL terminated at a load-balancer in any real-world scenario. We currently use the remoteHost as-is, which will just be the LBs IPs in those cases. There are standardized headers we could look for to make this work in this case.