Maybe just replaced the nginx config.
Can you check if there is /etc/nginx/nginx.conf_old which is the backup of the original config.