Keycloak with two frontend URLs?

Hi people. Forgive me,please, if I ask a silly question.
We have an application that must be accessible by two VPNs which cannot be routed one to another.
Each vpn publish it’s own url to system.

-----VPN A - URL_A -------+   +---------- VPN B - URL_B ------
                          !   ! 
                          KEYCLOAK

Is that possible to configure / customize Keycloak, so it responds with
URL_A/auth/realms/… when it receives a request from VPN A - URL_A and
responds with URL_B/auth/realms/… when it receives a request from VPN B - URL_B ?

Thanks in advance.