use same protocol for reverse proxy