add support for apche reverse proxy