Information about our load-balancer

We use nginx to distribute requests between multiple servers.

Because of this setup, the Request.UserHostAddress will be the IP address of our load-balancer instead of the IP address of the remote user. You can use Request.ServerVariables["HTTP_X_FORWARDED_FOR"] to access the user's IP address.

You should also be aware that sites are accessed on a non-standard port by the load-balancer. You can install this NuGet package to get around that problem. We have also published a workaround for generating public URLs without port numbers.