Setting up Safelinkx / Nomad server behind reverse proxy

Hi we are setting up safelinx & nomad server but in our infrastructure we use to have an edge reverse-proxy in DMZ.

I'm asking here to investigate if and how Safelinx can be placed behind a reverse proxy (in our case NGINX or HAProxy) so that it can read and honor the X-Forwarded-For header as the source IP for the incoming client.

Safelinx documentation has no information about this but I expect this behaviour to be somehow supported.