Ubuntu 静态网站 搭建 1.安装Nginx2.静态网站配置 1.安装Nginx sudo apt-get install nginx 2.静态网站配置 将静态静态网站复制到默认目录下,文件名必须为index.html sudo cp index.html /var/www/html