Reverse Proxy Foward Domain instead of path?

I don’t have an idea at the moment.
Perhaps @mrmarkuz has an idea?

Can you tell me how you have done it with SME?