Magento installation looks fine but can’t get Nginx to show the website

I used composer to install the project in var/www/ under magento2ce/public folder

Then I did everything to setup Magento and got the green successful message about the admin url and stuff

Then in etc/Nginx/sites-available I added a file named magento2ce

upstream fastcgi_backend { server unix:/run/php/php7.3-fpm.sock; }

server {

listen 80; server_name magento2ce.local; set $MAGE_ROOT /var/www/magento2ce/public; include /var/www/magento2ce/public/nginx.conf.sample; }

Then I navigate to magento2ce.local to no avail I get server not found

What might be the issue

submitted by /u/Spiritual-warrior
[link] [comments]