Is it possible to control which file is accessed dynamically based on the URL when using the Digital Ocean App Platform?

For example, if I want a file in my repository “/example.php” to be available at “https://xyz.ondigitalocean.app/example” how can this be achieved?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
Submit an Answer
1 answer

Hey,
At this point in time, It is not possible to add URL rewrites to the App platform. But you can post this idea on the below link.

https://ideas.digitalocean.com/

Thanks
Mohsin Saeed

  • Thanks Mohsin,

    It’s a shame it’s not possible as this is the only drawback for me at the moment. Even if there was an option to always route to the index file regardless of the URL, I could handle it there.

    I’ve submitted an idea so hopefully the team can look into this.