docs: shows how to use segements with redirects config