I'll just leave it here in case anybody needs it: in my case, it was the "default" configuration file in /etc/nginx/sites-enabled folder that was conflicting with my own configuration and preventing it from running.
I just removed it and everything worked as intended.