By burhank
Hello,
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 readme.md .env assets bin public
My Domain look like this: vialport-symfony-backup-dsadas.ondigitalocean.app
This is working: vialport-symfony-backup-dsadas.ondigitalocean.app/public
But i need the Public folder in the Root Domain. How i can configure it?
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!
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.
try with the yaml config and add:
run_command: heroku-php-apache2 public/
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.