make paths and routing copacetic for reverse proxying