代码拉取完成,页面将自动刷新
npm install
npm run serve
npm run build
npm run lint
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;
}
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。