Trusted proxies support

I created HestiaCP behind reverse proxy, but how all the ip’s show my internal reverse proxy IP.

I temporarily solve it by creating a new proxy template to trust my reverse proxy IP.

Is there a better way to do it on all websites instead of changing all the default templates?

Or a code must be added on order to support trusted proxies?

Thx for the help!