Publish HomeAssistant behind an Apache ReverseProxy - Internal and External URL required?

Hey Guys,

I have made my HomeAssistant externally accessible.
I am using an Apache server as a reverse proxy that already manages other applications.
So I also integrated the HomeAssistant into it.
Communication between HA and Apache is unencrypted via port 8123.
The Communication to the reverseproxy is ssl encrypted via port 433.
To avoid having to use a different URL internally than externally, I have also created an internal DNS zone for my external domain.

This means exactly
URL: ha.example.com

Externally, for example, the IP “99.99.99.99” is resolved.
→ My Firewall wich redirects the traffic to the reverseproxy

Internally, the IP “20.10.10.10” is resolved.
→ My reverseproxy

In both cases, however, the communication runs via the ReverseProxy to my HomeAssistant Server.

Does HomeAssistant have any problem with such a configuration?
Do I have to configure the internal and external URL in any way?

There is another DNS entry for homeassistant.example.com. Here the IP “20.10.10.11” is resolved.
→ My HomeAssistant Server

http:
  base_url: https://homeassistant.example.com
  use_x_forwarded_for: true
  trusted_proxies:
    - 20.10.10.10
  ip_ban_enabled: true
  login_attempts_threshold: 5