# 浙江省中小企业协会普惠金融

[蓝湖](https://lanhuapp.com/web/#/item/project/stage?tid=ea8afdc1-edb1-42ab-8949-3dd33c902ee8&pid=77a1b069-1402-4b27-9919-66949a6288bf)

[原型](https://run.mockplus.cn/I4sRclabFxl6rdWl/index.html?to=88A6006E-8AE0-EB11-907C-787B8ACA62A8)

[iconfont](https://www.iconfont.cn/manage/index?spm=a313x.7781069.1998910419.db775f1f3&manage_type=myprojects&projectId=2711356&keyword=&project_type=&page=)

[gitlab](https://gitlab.33.cn/chenqikuai/fns_front_2)

# 打包部署

## 普通打包

npm run build

## 提供 ios app 审核的打包

npm run buildReview

```conf
server {
    listen 2048;

    charset utf-8;

    gzip on;
    gzip_min_length 1k;
    gzip_buffers 4 16k;
    gzip_comp_level 2;
    gzip_types text/plain application/x-javascript application/javascript text/css application/xml text/javascript application/x-httpd-php image/jpeg image/gif image/png;
    gzip_disable "MSIE [1-6]\.";


    location / {
        root /usr/share/nginx/html/fns_front;
        try_files $uri $uri /index.html;
    }

    location /proxyApi/ {
        proxy_pass http://172.16.102.150:8091/;
        # proxy_pass https://www.puhuijr.net/proxyApi/;
    }

    location /proxyWs {
        rewrite ^/proxyWs/(.*) /$1 break;
        proxy_pass http://172.16.101.107:8888;
        proxy_set_header X-Real-IP $remote_addr;

        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_http_version 1.1;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection "Upgrade";
    }

    location ~ /clear(/.*) {
        allow 192.168.0.0/24;
        auth_basic "Secret";
        auth_basic_user_file /etc/nginx/conf.d/passwd;
        proxy_cache_purge cache_nginx $host$1$is_args$args;
    }
}
```
