recently was setting up magento in my local system, i did installed mariaDB, nginx and php7.1.
i did created new files in sites-available and did symlink as well. And i did run nginx -t there were no error looks everything fine but when i try the domain on browser, i can see a message which says site can’t be reached.
Can any one help me what might be the issue.
Please find the site configuration details
upstream fastcgi_backend {
server unix:/run/php/php7.1-fpm.sock;
}
server {
listen 80;
listen [::]:80;
index index.php index.html index.htm;
server_name dev.magento.com;
client_max_body_size 100M;
set $MAGE_ROOT /var/www/html/magento2;
set $MAGE_MODE developer;
include /var/www/html/magento2/nginx.conf.sample;
}