Correct the script for nginx.
chmod +x d7-generate-nginx-map.sh
Correctly generate map from sites.php.