updated NGINX config to remove trailing slashes