该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

basic-index

Project setup

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Lints and fixes files

npm run lint

Customize configuration

See Configuration Reference.

Nginx

server {
    listen       80;
    server_name  uias-devops.local.com;

    location / {
        return 301 https://$host$request_uri;
    }
}

limit_req_zone $binary_remote_addr zone=one:10m rate=100r/m;
limit_conn_zone $binary_remote_addr zone=addr:10m;
limit_conn_log_level warn;
limit_conn_status 503;
server {
    listen       20287 ssl http2;
    #http2 on;
    server_name  uias-devops.local.com;

    ssl_certificate      cert/ybelesch.outsrkem.top;
    ssl_certificate_key  cert/ybelesch.outsrkem.top;

    ssl_session_cache    shared:SSL:1m;
    ssl_session_timeout  5m;

    ssl_ciphers  HIGH:!aNULL:!MD5;
    ssl_prefer_server_ciphers  on;

    gzip on;
    gzip_buffers 32 4K;
    gzip_comp_level 6;
    gzip_min_length 1024;
    gzip_types application/javascript text/css text/xml application/json image/x-icon;
    gzip_vary on;

    location = / {
        return 302 /console;
    }

    location / {
        limit_req zone=one burst=200 nodelay;
        limit_conn addr 20;
        root   /opt/www;
        set $subdir $2;
        try_files /$subdir/$uri $uri/ =404;
        expires 30d;
        add_header Cache-Control "no-cache";
    }

    location /api {
        limit_req zone=one burst=100 nodelay;
        limit_conn addr 10;
        proxy_set_header Host $host;
        proxy_set_header Host $host:$server_port;
        proxy_set_header X-Request-Id $req_id;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $remote_addr;
        proxy_set_header X-Client-Real-ip $remote_addr;

        proxy_pass http://127.0.0.1:21243;
    }
}

空文件

简介

暂无描述 展开 收起
Vue 等 4 种语言
取消

发行版

暂无发行版

贡献者

全部

近期动态

不能加载更多了
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化