By joevandyk
I’d like to use http2 on our site which is behind the DO load balancers.
We were using the tcp passthrough with http2 configured on nginx on the droplets and that was working fine. The problem is that we weren’t able to get the client’s remote ip – the x-forwarded-for ips were the ones of the load balancer, not the client (which makes sense, since the load balancer doesn’t change the headers in tcp mode).
Any way to get both http2 and the client IPs while using DO load balancers? I’m stuck.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
As far as I know, DigitalOcean Load Balancers don’t support the HTTP/2 protocol. You can vote for it on the DigitalOcean’s UserVoice page — Support HTTP/2 on load balancers.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.