Error CSFR al iniciar sesión detrás de HA Proxy

FWIW, there are many example configurations for reverse proxy servers in front of the Discourse app, including this one, almost all address “X-Forwarded-Proto”: