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;
}
}
本文来自博客园,作者:Python界-黄药师,转载请注明原文链接:https://www.cnblogs.com/niehaidong111/p/9668631.html