How can I host and authenticate my app at a specific URL?

Topic summary

Summarized with AI on January 26. AI used: gpt-5.

I would like to host my app at https://example.com/shopify and my auth URL at https://example.com/shopify/authenticate

Any idea how that can be done? I whitelisted https://example.com/shopify/authenticate but when installing, shopify keeps trying to redirect to https://example.com/authenticate