Warning The following configuration makes all PHP scripts except app.php, app_dev.php and config.php downloadable instead of executing them. This is probably not desired if you’d like to use a tool like phpMyAdmin in the same virtual host. server { server_name domain.tld www.domain.tld; root /var/www/project/public; location / { # try to serve file directly, fallback to app.php try_files $uri /ind