JustPaste.it

server {
server_name map.testapp.dev;
root /var/www/map.testapp.dev;
index index.html index.htm index.php;

location / {
try_files $uri $uri/ =404;
fastcgi_pass unix:/var/run/php/php7.2-fpm.sock;
fastcgi_split_path_info ^(.+\.php)(/.*)$;
include fastcgi_params;

fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
fastcgi_param DOCUMENT_ROOT $realpath_root;
}

location ~ \.php$ {
return 404;
}

error_log /var/log/nginx/map_testapp_dev_error.log;
access_log /var/log/nginx/map_testapp_dev_access.log;
}