-
Notifications
You must be signed in to change notification settings - Fork 471
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
symfony.conf file does not reflect the latest symfony 4 directory structure #82
Comments
Hi @mohib0306 , |
It made it working by changing the symfony.conf file, so if want me to make a PR, I am happy to contribute. |
That works fine. I was going to do a PR for this but I'm still trying to figure out how to do it intelligently |
Thx @MatthewBooth |
I've got a API Boilerplate for Symfony 4 at https://github.com/Matts/Symfony-4-Docker-API-Boilerplate it has all the updated paths in the configurations found here |
Current symfony.conf file:
`server {
server_name symfony.dev;
root /var/www/symfony/web;
} `
since
/var/www/symfony/web
is not the root in symfony 4, but rather/var/www/symfony/public
is the root directory. When the/var/www/symfony/web
is used as the root directory, navigating to the symfony.dev return "File Not Found" error page. The same thing goes for changingapp.php
toindex.php
The text was updated successfully, but these errors were encountered: