Sets up a reverse proxy defined by the `reverse_proxy_type` variable