Zend certified PHP/Magento developer

Site2Site VPN with wireguard through proxmox lxc

I have the following setup

enter image description here

Server A and B running proxmox
I would like to make the webservices on server B available from the internet through an reverse proxy on Server A.

For this i would like to start a site2site vpn connection between both servers.
Then i thought i can just enter the ip of that server B hast got through vpn (10.254.1.1) within de domain in the reverse proxy config. but i guess, that this ip is not reachable through the reverse proxy?

Of course, on the side of server B i would forward all incoming traffic on port 80 and 443 to server B

how could i make such a setup work properly?

Thank you