Report this

What is the reason for this report?

Proxy protocol disabled at random time, bringing my site offline

Posted on February 15, 2022

I activated the proxy protocol in the loadbalancer setting menu, but it randomly turned disabled, this has happened 3 times today, for the environment I use kubernetes and add a configmap

apiVersion: v1 kind: ConfigMap metadata: name: nginx-ingress-ingress-nginx-controller namespace: default annotations: service.beta.kubernetes.io/do-loadbalancer-enable-proxy-protocol: “true” data: use-proxy-protocol: ‘true’

what is the cause, has anyone experienced it?



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!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

One potential issue could be a conflict between the proxy protocol settings at the Load Balancer level and the NGINX Ingress configuration.

When you specify the annotation service.beta.kubernetes.io/do-loadbalancer-enable-proxy-protocol: “true” in Kubernetes, it should set the proxy protocol at the LB level automatically. But remember, this should match your NGINX Ingress ‘use-proxy-protocol’ settings.

Secondly, a configuration change in your Load Balancer might be overwriting this setting. If you have some script that modifies the Load Balancer settings, it could inadvertently disable the proxy protocol.

Lastly, it could be a bug within the DigitalOcean Kubernetes platform. If none of the above suggestions resolve your problem, it would be worth checking with DigitalOcean Support.

For more information on setting up a Load Balancer and Kubernetes on DigitalOcean, you can refer to this guide.

Hope that this helps!

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.