npmapps 1.0.11 → 1.0.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -1
- package/app/nginxManagement/backend/command_records.json +46 -0
- package/app/nginxManagement/backend/nginx-1.28.0/conf/api.conf +2 -1
- package/app/nginxManagement/backend/nginx-1.28.0/conf/nginx.conf +1 -0
- package/app/nginxManagement/backend/nginx-1.28.0/logs/error.log +18 -62
- package/app/nginxManagement/backend/nm.exe +0 -0
- package/app/nginxManagement/frontend/dist/assets/index-AG5xSNXD.css +1 -0
- package/app/nginxManagement/frontend/dist/assets/{index-_jG9n0U8.js → index-B2VcD4B4.js} +1 -1
- package/app/nginxManagement/frontend/dist/assets/index-BW5QC1wD.js +58 -0
- package/app/nginxManagement/frontend/dist/assets/index-BXCmlf1X.js +1 -0
- package/app/nginxManagement/frontend/dist/assets/index-BqD_g85X.js +1 -0
- package/app/nginxManagement/frontend/dist/assets/index-CZs0cWnm.js +1 -0
- package/app/nginxManagement/frontend/dist/assets/index-CckWg4BZ.js +1 -0
- package/app/nginxManagement/frontend/dist/assets/index-CfQ0CtE1.js +21 -0
- package/app/nginxManagement/frontend/dist/assets/index-CnlsVqSb.js +1 -0
- package/app/nginxManagement/frontend/dist/assets/index-D80vACWt.js +58 -0
- package/app/nginxManagement/frontend/dist/assets/index-DCkNgPTg.css +1 -0
- package/app/nginxManagement/frontend/dist/assets/index-DDbr5qwm.css +1 -0
- package/app/nginxManagement/frontend/dist/assets/index-DIf3GFFr.js +1 -0
- package/app/nginxManagement/frontend/dist/assets/index-DIkZrekD.js +21 -0
- package/app/nginxManagement/frontend/dist/assets/index-DJ10N3ef.js +21 -0
- package/app/nginxManagement/frontend/dist/assets/index-DZqALzxJ.css +1 -0
- package/app/nginxManagement/frontend/dist/assets/index-DijMOVEo.js +1 -0
- package/app/nginxManagement/frontend/dist/assets/index-Dj94f0_e.js +58 -0
- package/app/nginxManagement/frontend/dist/assets/index-DxsiA9NS.css +1 -0
- package/app/nginxManagement/frontend/dist/assets/index-MbI1qjjU.js +21 -0
- package/app/nginxManagement/frontend/dist/assets/index-PO5K0hSX.js +58 -0
- package/app/nginxManagement/frontend/dist/assets/request-DK54gOQ7.js +6 -0
- package/app/nginxManagement/frontend/dist/index.html +2 -2
- package/package.json +1 -1
- package/app/nginxManagement/backend/nginx-1.28.0/logs/nginx.pid +0 -1
- package/app/nginxManagement/frontend/dist/assets/index-Bx3YfIlI.css +0 -1
- package/app/nginxManagement/frontend/dist/assets/index-CR2wJXtr.js +0 -58
- package/app/nginxManagement/frontend/dist/assets/index-eLDUQSKK.js +0 -26
package/README.md
CHANGED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"id": 1,
|
|
4
|
+
"command": "nginx.exe -t",
|
|
5
|
+
"output": "",
|
|
6
|
+
"status": "success",
|
|
7
|
+
"startTime": "2025-07-03T11:02:11.9433783+08:00",
|
|
8
|
+
"endTime": "2025-07-03T11:02:12.0535445+08:00",
|
|
9
|
+
"duration": 110,
|
|
10
|
+
"errorMsg": "",
|
|
11
|
+
"createdAt": "2025-07-03T11:02:11.9433783+08:00"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"id": 2,
|
|
15
|
+
"command": "start /B nginx.exe -c conf/nginx.conf",
|
|
16
|
+
"output": "nginx启动成功",
|
|
17
|
+
"status": "success",
|
|
18
|
+
"startTime": "2025-07-03T11:02:12.1545539+08:00",
|
|
19
|
+
"endTime": "2025-07-03T11:02:12.2087331+08:00",
|
|
20
|
+
"duration": 54,
|
|
21
|
+
"errorMsg": "",
|
|
22
|
+
"createdAt": "2025-07-03T11:02:12.1545539+08:00"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"id": 3,
|
|
26
|
+
"command": "nginx.exe -s reload",
|
|
27
|
+
"output": "",
|
|
28
|
+
"status": "success",
|
|
29
|
+
"startTime": "2025-07-03T11:02:22.4103608+08:00",
|
|
30
|
+
"endTime": "2025-07-03T11:02:22.5142276+08:00",
|
|
31
|
+
"duration": 103,
|
|
32
|
+
"errorMsg": "",
|
|
33
|
+
"createdAt": "2025-07-03T11:02:22.4103608+08:00"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"id": 4,
|
|
37
|
+
"command": "nginx.exe -s stop",
|
|
38
|
+
"output": "",
|
|
39
|
+
"status": "success",
|
|
40
|
+
"startTime": "2025-07-03T11:02:49.500976+08:00",
|
|
41
|
+
"endTime": "2025-07-03T11:02:49.5999347+08:00",
|
|
42
|
+
"duration": 98,
|
|
43
|
+
"errorMsg": "",
|
|
44
|
+
"createdAt": "2025-07-03T11:02:49.500976+08:00"
|
|
45
|
+
}
|
|
46
|
+
]
|
|
@@ -10,7 +10,8 @@ server {
|
|
|
10
10
|
error_log logs/api_80_error.log;
|
|
11
11
|
|
|
12
12
|
location /api/ {
|
|
13
|
-
proxy_pass http://localhost:8081; #R 新地址
|
|
13
|
+
# proxy_pass http://localhost:8081; #R 新地址
|
|
14
|
+
proxy_pass http://localhost:8080; #R 新地址
|
|
14
15
|
# proxy_pass http://localhost:8082; #R 新地址
|
|
15
16
|
proxy_set_header Host $host;
|
|
16
17
|
proxy_set_header X-Real-IP $remote_addr;
|
|
@@ -13,65 +13,21 @@
|
|
|
13
13
|
2025/07/02 10:47:53 [notice] 31088#29580: signal process started
|
|
14
14
|
2025/07/02 10:48:04 [notice] 13636#28108: signal process started
|
|
15
15
|
2025/07/02 10:48:06 [notice] 3644#32680: signal process started
|
|
16
|
-
2025/07/
|
|
17
|
-
2025/07/
|
|
18
|
-
2025/07/
|
|
19
|
-
2025/07/
|
|
20
|
-
2025/07/
|
|
21
|
-
2025/07/
|
|
22
|
-
2025/07/
|
|
23
|
-
2025/07/
|
|
24
|
-
2025/07/
|
|
25
|
-
2025/07/
|
|
26
|
-
2025/07/
|
|
27
|
-
2025/07/
|
|
28
|
-
2025/07/
|
|
29
|
-
2025/07/
|
|
30
|
-
2025/07/
|
|
31
|
-
2025/07/
|
|
32
|
-
2025/07/
|
|
33
|
-
2025/07/
|
|
34
|
-
2025/07/02 15:00:40 [notice] 36552#18780: signal process started
|
|
35
|
-
2025/07/02 15:00:40 [error] 36552#18780: CreateFile() "C:\Users\w1768\Documents\wk\web\npm\npmapps\app\nginxManagement\backend\nginx-1.28.0/logs/nginx.pid" failed (2: The system cannot find the file specified)
|
|
36
|
-
2025/07/02 15:00:49 [notice] 42884#43640: signal process started
|
|
37
|
-
2025/07/02 15:00:51 [notice] 36324#41676: signal process started
|
|
38
|
-
2025/07/02 15:00:52 [notice] 34448#41356: signal process started
|
|
39
|
-
2025/07/02 15:00:55 [notice] 42832#34368: signal process started
|
|
40
|
-
2025/07/02 15:00:55 [error] 42832#34368: CreateFile() "C:\Users\w1768\Documents\wk\web\npm\npmapps\app\nginxManagement\backend\nginx-1.28.0/logs/nginx.pid" failed (2: The system cannot find the file specified)
|
|
41
|
-
2025/07/02 15:02:01 [notice] 39788#15176: signal process started
|
|
42
|
-
2025/07/02 15:02:05 [notice] 40904#26560: signal process started
|
|
43
|
-
2025/07/02 15:02:05 [error] 40904#26560: CreateFile() "C:\Users\w1768\Documents\wk\web\npm\npmapps\app\nginxManagement\backend\nginx-1.28.0/logs/nginx.pid" failed (2: The system cannot find the file specified)
|
|
44
|
-
2025/07/02 15:02:25 [notice] 31368#14620: signal process started
|
|
45
|
-
2025/07/02 15:02:53 [notice] 15484#21136: signal process started
|
|
46
|
-
2025/07/02 15:02:54 [notice] 43760#29120: signal process started
|
|
47
|
-
2025/07/02 15:02:54 [error] 43760#29120: CreateFile() "C:\Users\w1768\Documents\wk\web\npm\npmapps\app\nginxManagement\backend\nginx-1.28.0/logs/nginx.pid" failed (2: The system cannot find the file specified)
|
|
48
|
-
2025/07/02 15:02:55 [notice] 22652#41616: signal process started
|
|
49
|
-
2025/07/02 15:02:55 [error] 22652#41616: CreateFile() "C:\Users\w1768\Documents\wk\web\npm\npmapps\app\nginxManagement\backend\nginx-1.28.0/logs/nginx.pid" failed (2: The system cannot find the file specified)
|
|
50
|
-
2025/07/02 16:16:43 [notice] 38692#12456: signal process started
|
|
51
|
-
2025/07/02 16:16:43 [error] 38692#12456: CreateFile() "C:\Users\w1768\Documents\wk\web\npm\npmapps\app\nginxManagement\backend\nginx-1.28.0/logs/nginx.pid" failed (2: The system cannot find the file specified)
|
|
52
|
-
2025/07/02 16:16:48 [notice] 21684#19316: signal process started
|
|
53
|
-
2025/07/02 16:16:53 [notice] 16112#19796: signal process started
|
|
54
|
-
2025/07/02 16:17:12 [notice] 27740#5888: signal process started
|
|
55
|
-
2025/07/02 16:17:13 [notice] 44296#38724: signal process started
|
|
56
|
-
2025/07/02 16:17:14 [notice] 36480#31124: signal process started
|
|
57
|
-
2025/07/02 16:17:14 [notice] 28600#37620: signal process started
|
|
58
|
-
2025/07/02 16:17:15 [notice] 27632#3380: signal process started
|
|
59
|
-
2025/07/02 16:17:16 [notice] 21656#41176: signal process started
|
|
60
|
-
2025/07/02 16:17:16 [notice] 33320#37692: signal process started
|
|
61
|
-
2025/07/02 16:17:21 [notice] 39928#42700: signal process started
|
|
62
|
-
2025/07/02 16:17:24 [notice] 34464#43652: signal process started
|
|
63
|
-
2025/07/02 16:17:24 [error] 34464#43652: CreateFile() "C:\Users\w1768\Documents\wk\web\npm\npmapps\app\nginxManagement\backend\nginx-1.28.0/logs/nginx.pid" failed (2: The system cannot find the file specified)
|
|
64
|
-
2025/07/02 16:17:36 [notice] 33240#28616: signal process started
|
|
65
|
-
2025/07/02 16:17:36 [error] 33240#28616: CreateFile() "C:\Users\w1768\Documents\wk\web\npm\npmapps\app\nginxManagement\backend\nginx-1.28.0/logs/nginx.pid" failed (2: The system cannot find the file specified)
|
|
66
|
-
2025/07/02 16:17:40 [notice] 29172#24812: signal process started
|
|
67
|
-
2025/07/02 16:17:40 [error] 29172#24812: CreateFile() "C:\Users\w1768\Documents\wk\web\npm\npmapps\app\nginxManagement\backend\nginx-1.28.0/logs/nginx.pid" failed (2: The system cannot find the file specified)
|
|
68
|
-
2025/07/02 16:17:43 [notice] 14784#43660: signal process started
|
|
69
|
-
2025/07/02 16:17:57 [notice] 33216#30144: signal process started
|
|
70
|
-
2025/07/02 16:17:57 [error] 33216#30144: CreateFile() "C:\Users\w1768\Documents\wk\web\npm\npmapps\app\nginxManagement\backend\nginx-1.28.0/logs/nginx.pid" failed (2: The system cannot find the file specified)
|
|
71
|
-
2025/07/02 16:17:58 [notice] 32892#25524: signal process started
|
|
72
|
-
2025/07/02 16:17:58 [error] 32892#25524: CreateFile() "C:\Users\w1768\Documents\wk\web\npm\npmapps\app\nginxManagement\backend\nginx-1.28.0/logs/nginx.pid" failed (2: The system cannot find the file specified)
|
|
73
|
-
2025/07/02 16:18:04 [notice] 28292#19048: signal process started
|
|
74
|
-
2025/07/02 16:23:45 [notice] 33964#26816: signal process started
|
|
75
|
-
2025/07/02 16:23:50 [notice] 39056#32776: signal process started
|
|
76
|
-
2025/07/02 16:23:50 [error] 39056#32776: CreateFile() "C:\Users\w1768\Documents\wk\web\npm\npmapps\app\nginxManagement\backend\nginx-1.28.0/logs/nginx.pid" failed (2: The system cannot find the file specified)
|
|
77
|
-
2025/07/02 16:44:02 [notice] 7360#40444: signal process started
|
|
16
|
+
2025/07/03 09:13:00 [notice] 28356#28164: signal process started
|
|
17
|
+
2025/07/03 10:05:23 [notice] 31992#12720: signal process started
|
|
18
|
+
2025/07/03 10:11:17 [notice] 29132#19404: signal process started
|
|
19
|
+
2025/07/03 10:49:02 [notice] 10400#28508: signal process started
|
|
20
|
+
2025/07/03 10:52:30 [notice] 33048#30396: signal process started
|
|
21
|
+
2025/07/03 10:52:37 [notice] 16144#27736: signal process started
|
|
22
|
+
2025/07/03 10:52:53 [notice] 26948#27324: signal process started
|
|
23
|
+
2025/07/03 10:53:20 [notice] 30212#30396: signal process started
|
|
24
|
+
2025/07/03 10:53:31 [notice] 34408#12892: signal process started
|
|
25
|
+
2025/07/03 10:53:36 [notice] 27200#29132: signal process started
|
|
26
|
+
2025/07/03 10:55:30 [notice] 25312#31604: signal process started
|
|
27
|
+
2025/07/03 10:55:55 [notice] 10332#29032: signal process started
|
|
28
|
+
2025/07/03 10:55:55 [error] 10332#29032: OpenEvent("Global\ngx_stop_14148") failed (2: The system cannot find the file specified)
|
|
29
|
+
2025/07/03 10:57:33 [notice] 25464#17272: signal process started
|
|
30
|
+
2025/07/03 10:57:44 [notice] 1416#31524: signal process started
|
|
31
|
+
2025/07/03 10:58:07 [notice] 17908#27604: signal process started
|
|
32
|
+
2025/07/03 11:02:22 [notice] 19508#5724: signal process started
|
|
33
|
+
2025/07/03 11:02:49 [notice] 19516#28348: signal process started
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.card-header[data-v-4ed7fb36]{display:flex;justify-content:space-between;align-items:center}.header-actions[data-v-4ed7fb36]{display:flex;gap:10px}.config-content[data-v-4ed7fb36]{margin-bottom:30px}.config-preview[data-v-4ed7fb36]{margin-top:30px}.config-preview h3[data-v-4ed7fb36]{margin-bottom:15px;color:#303133}.el-table[data-v-4ed7fb36]{margin-bottom:10px}.el-form-item[data-v-4ed7fb36]{margin-bottom:20px}.proxy-addresses[data-v-4ed7fb36]{display:flex;flex-direction:column;gap:5px}.proxy-address-item[data-v-4ed7fb36]{display:flex;gap:5px;align-items:center}.proxy-address-item .el-input[data-v-4ed7fb36]{flex:1}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as C,r as d,c as N,o as D,a as e,w as a,b as l,d as t,t as i}from"./index-
|
|
1
|
+
import{_ as C,r as d,c as N,o as D,a as e,w as a,b as l,d as t,t as i}from"./index-D80vACWt.js";const R={class:"dashboard-container"},S={class:"card-header"},h={class:"card-header"},z={class:"stat-value"},E={class:"card-header"},I={class:"stat-value"},P={class:"card-header"},T={class:"stat-value"},U={slot:"header",class:"card-header"},j={class:"chart-container"},A={__name:"index",setup(F){const m=d(128),v=d(35.6),f=d(99.8),p=d("today"),g=d([{domain:"api.example.com",requests:12543,percentage:"45.2%"},{domain:"www.example.com",requests:8762,percentage:"31.4%"},{domain:"static.example.com",requests:6321,percentage:"22.8%"},{domain:"admin.example.com",requests:1532,percentage:"5.5%"}]);return(G,s)=>{const b=l("monitor"),c=l("el-icon"),o=l("el-card"),n=l("el-col"),x=l("connection"),w=l("refresh-left"),q=l("success"),u=l("el-row"),r=l("el-option"),y=l("el-select"),V=l("el-progress"),_=l("el-table-column"),k=l("el-table");return D(),N("div",R,[e(u,{gutter:20},{default:a(()=>[e(n,{span:6},{default:a(()=>[e(o,{class:"stat-card"},{default:a(()=>[t("div",S,[e(c,{class:"card-icon"},{default:a(()=>[e(b)]),_:1}),s[1]||(s[1]=t("span",null,"服务器状态",-1))]),s[2]||(s[2]=t("div",{class:"stat-value"},"运行中",-1)),s[3]||(s[3]=t("div",{class:"stat-desc"},"Nginx 1.23.3",-1))]),_:1,__:[2,3]})]),_:1}),e(n,{span:6},{default:a(()=>[e(o,{class:"stat-card"},{default:a(()=>[t("div",h,[e(c,{class:"card-icon"},{default:a(()=>[e(x)]),_:1}),s[4]||(s[4]=t("span",null,"活跃连接",-1))]),t("div",z,i(m.value),1),s[5]||(s[5]=t("div",{class:"stat-desc"},"较昨日 +12%",-1))]),_:1,__:[5]})]),_:1}),e(n,{span:6},{default:a(()=>[e(o,{class:"stat-card"},{default:a(()=>[t("div",E,[e(c,{class:"card-icon"},{default:a(()=>[e(w)]),_:1}),s[6]||(s[6]=t("span",null,"请求/秒",-1))]),t("div",I,i(v.value),1),s[7]||(s[7]=t("div",{class:"stat-desc"},"较昨日 +5%",-1))]),_:1,__:[7]})]),_:1}),e(n,{span:6},{default:a(()=>[e(o,{class:"stat-card"},{default:a(()=>[t("div",P,[e(c,{class:"card-icon"},{default:a(()=>[e(q)]),_:1}),s[8]||(s[8]=t("span",null,"成功率",-1))]),t("div",T,i(f.value)+"%",1),s[9]||(s[9]=t("div",{class:"stat-desc"},"较昨日 -1%",-1))]),_:1,__:[9]})]),_:1})]),_:1}),e(u,{gutter:20,style:{"margin-top":"20px"}},{default:a(()=>[e(n,{span:16},{default:a(()=>[e(o,null,{default:a(()=>[t("div",U,[s[10]||(s[10]=t("span",null,"请求趋势",-1)),e(y,{modelValue:p.value,"onUpdate:modelValue":s[0]||(s[0]=B=>p.value=B),size:"small",style:{"margin-left":"10px"}},{default:a(()=>[e(r,{label:"今日",value:"today"}),e(r,{label:"本周",value:"week"}),e(r,{label:"本月",value:"month"})]),_:1},8,["modelValue"])]),t("div",j,[e(V,{percentage:65,status:"success"}),s[11]||(s[11]=t("div",{class:"chart-placeholder"},"请求趋势图表将显示在这里",-1))])]),_:1})]),_:1}),e(n,{span:8},{default:a(()=>[e(o,null,{default:a(()=>[s[12]||(s[12]=t("div",{slot:"header",class:"card-header"},[t("span",null,"Top 访问域名")],-1)),e(k,{data:g.value},{default:a(()=>[e(_,{prop:"domain",label:"域名"}),e(_,{prop:"requests",label:"请求数"}),e(_,{prop:"percentage",label:"占比"})]),_:1},8,["data"])]),_:1,__:[12]})]),_:1})]),_:1})])}}},J=C(A,[["__scopeId","data-v-c33ec8b9"]]);export{J as default};
|