allow proxy to redirect through config