dirkaholic / vagrant-php-dev-box

PHP 7 vagrant development box with nginx, php-fpm, MySQL, Symfony, Laravel, ... on Ubuntu 16.04
477 stars 142 forks source link

Fixed to update the vagrant box with changes done on Symfony projects and added PostgreSQL database #38

Open ghost opened 7 years ago

ghost commented 7 years ago

PostgreSQL Database was added.

dirkaholic commented 7 years ago

Hey, after reviewing that I think the easier way to achieve that would be to replace app.php with app_dev.php in the symfony config here https://github.com/dirkaholic/vagrant-php-dev-box/blob/master/playbooks/roles/symfony-standard/templates/nginx.conf.j2#L13. What do you think ?

ghost commented 7 years ago

I tried to do this but return the error when I change lines 10 and 13:

You are not allowed to access this file. Check app_dev.php for more information.

And if I only modified line 13, when I access 192.168.50.4 ask me to do a download of a file called download.