nginx 配置访问 静态文件

server {

        listen       7777;

        server_name  crpapitest.shunshunliuxue.com;

        index index.html index.htm index.php;

 

 

        location /nas/crp/wincall/ {

            alias /nas/crp/wincall/;

            expires 30d;

            access_log off;

            break;

        }

        location /static {

        alias /data/www-data/crp-backend_8001/static_publish;

        }

}

posted @ 2018-09-18 14:16  Python界-黄药师  阅读(633)  评论(0编辑  收藏  举报