Виртуальный сервер nginx

/etc/nginx/conf.d/<myproject> server { listen 80; server_name example.com; root /var/www/example.com; index index.html;

location / {
    try_files $uri $uri/ =404;
}

}

Nginx