---
title: Why Did My Backend Instances Become Unhealthy When Enabling Proxy Protocol?
url: https://docs.vultr.com/support/products/network/load-balancer/why-did-my-backend-instances-become-unhealthy-when-enabling-proxy-protocol
description: Backends that cannot parse the PROXY header fail Vultr health checks; enable parsing in NGINX, HAProxy, or Apache.
publish_date: 2025-09-15T13:43:08.694548Z
last_updated: 2026-10-26T23:31:46.210314Z
---

> Index of every Vultr Docs page in markdown: https://docs.vultr.com/llms.txt

When you enable the **PROXY Protocol** on a [Vultr Load Balancer](https://docs.vultr.com/products/network/load-balancer), the load balancer adds a header containing the original client’s IP address and port before forwarding traffic to your backend instances. If the service on the instance is not configured to parse and accept PROXY protocol headers, it interprets the extra data as invalid and responds with errors, often `400 Bad Request`. This causes the [health checks](https://docs.vultr.com/products/network/load-balancer/configuration/health-checks) to fail, and the instance is automatically marked unhealthy and removed from the routing pool.

To resolve this, configure your backend service to support PROXY protocol if you require the client’s real IP. The exact steps depend on your software stack:

* **NGINX**: Use the `proxy_protocol` directive on the listening socket.  
* **HAProxy**: Enable the `accept-proxy` option on the bind line.  
* **Apache HTTPD**: Enable the `RemoteIPProxyProtocol` directive.  

If your application stack does not support PROXY protocol, leave the feature disabled on the Vultr Load Balancer. You can still obtain the client IP from the standard `X-Forwarded-For` header, which the Vultr Load Balancer inserts by default.

For detailed configuration steps, refer to the official documentation for your web server or proxy software. See [NGINX Proxy Protocol configuration](https://docs.nginx.com/nginx/admin-guide/load-balancer/using-proxy-protocol/#configuring-nginx-to-accept-the-proxy-protocol), [Apache RemoteIPProxyProtocol directive](https://httpd.apache.org/docs/2.4/mod/mod_remoteip.html#remoteipproxyprotocol), and [HAProxy accept-proxy usage](https://www.haproxy.com/documentation/haproxy-configuration-tutorials/proxying-essentials/client-ip-preservation/enable-proxy-protocol/).
