🌴 Sync 2026-03-05 23:51:42

This commit is contained in:
github-actions[bot] committed 2026-03-05 23:51:42 +08:00
1 parent 97c049ed0a
commit 0acff03804
14253 files changed
+3893239

No files matched your search

@@ -0,0 +1,17 @@
server {
listen 8080; #bind prot 绑定的端口
root /www; #directory 网站路径
ssl_session_timeout 5m;
gzip on;
gzip_types text/plain application/json application/javascript application/x-javascript text/css application/xml text/javascript;
gzip_proxied any;
gzip_vary on;
gzip_comp_level 6;
gzip_buffers 16 8k;
gzip_http_version 1.0;
location / {
index index.html index.htm; #默认文件
try_files $uri $uri/ /index.html;
}
}
@@ -0,0 +1,19 @@
#!/bin/sh
[ ! -f "/usr/share/ucitrack/luci-app-nginx-manager.json" ] && {
cat > /usr/share/ucitrack/luci-app-nginx-manager.json << EEOF
{
"config": "nginx-manager",
"init": "nginx-manager"
}
EEOF
}
uci -q batch <<-EOF >/dev/null
delete ucitrack.@nginx-manager[-1]
add ucitrack nginx-manager
set ucitrack.@nginx-manage[-1].init=nginx
commit ucitrack
EOF
rm -f /tmp/luci-indexcache
exit 0
@@ -0,0 +1,11 @@
{
"luci-app-nginx-manager": {
"description": "Grant UCI access for luci-app-nginx-manager",
"read": {
"uci": [ "nginx-manager" ]
},
"write": {
"uci": [ "nginx-manager" ]
}
}
}