nginx配置

server {
    listen 80;
    server_name www.xxx.com;
    charset utf-8;
    access_log xxx/host.access.log;
    location / {
        root xxx/dist;
        try_files $uri $uri/ /index.html;
    }
}

 

posted @ 2018-05-08 20:56  世界,太精彩  阅读(123)  评论(0编辑  收藏  举报