I manage to fixed it so : (I guess)
I sould have finish the intial setup before “reconfigure”.
The nginx conf file was not properly configured, i just had to run another dpkg reconfigure to set up the certificate after, restart everything and it worked