nginx 部署静态页面

1
2
3
4
5
6
7
server{
    listen 80;
    server_name localhost;
    root /var/www;
    index index.htm;
}