Ápps: How to setup default path for Domain


i created a Symfony Project from Github. Now i need as default path the /publlic folder. I try it with the HTTP Routes (i add there /public) but this is not working and not the solution.

My folder looks like this: Ubuntu: ls .env assets bin public

My Domain look like this:

This is working:

But i need the Public folder in the Root Domain. How i can configure it?

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

try with the yaml config and add:

run_command: heroku-php-apache2 public/

How i can edit it?

To specify the root directory for your project you can use the “source_dir” parameter in the App Spec yaml. Apps can be created with App Spec yaml via the API or doctl.