Nginx Config

v2.0.1

Nginx配置生成。服务器配置、反向代理、SSL、缓存、安全加固、性能优化。Nginx config generator with reverse proxy, SSL, caching, security, optimization. Nginx、服务器、运维。

0· 440·2 current·2 all-time
bybytesagain4@xueyetianya
MIT-0
Download zip
LicenseMIT-0 · Free to use, modify, and redistribute. No attribution required.
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
The name/description (Nginx config generation, reverse proxy, SSL, caching, security, optimization) match the shipped files: scripts/nginx.sh produces various nginx config templates (reverse proxy, SSL, static, security, load balancing). scripts/script.sh provides local system helper/monitoring commands which fit the broader '运维 / server' scope.
Instruction Scope
SKILL.md is an instruction-oriented wrapper for the scripts. The scripts perform local file I/O and system inspection (reading /proc/cpuinfo, tailing /var/log/syslog, checking df/uptime) and create a data directory under the user's home or XDG_DATA_HOME. They do not attempt outbound network calls, post to external endpoints, or execute dangerous commands automatically. Users should note the skill will read local system logs and write to a per-user data directory.
Install Mechanism
No install spec — instruction-only with included scripts. Nothing is downloaded from external URLs or written to system locations by an installer step.
Credentials
The skill declares no required environment variables, but scripts read optional env vars (NGINX_CONFIG_DIR, XDG_DATA_HOME, HOME) and reference standard system paths (/etc/letsencrypt, /var/log/nginx, /var/log/syslog). These are proportionate to a server/ops tool, but the skill does use environment values that are not listed in SKILL.md's metadata.
Persistence & Privilege
always is false and the skill does not request elevated privileges or modify other skills. It creates a per-user data directory and log file; it prints commands for restart/backup rather than executing them, so it does not escalate privileges or perform system-wide changes by itself.
Assessment
This skill appears to do what it says: generate nginx configuration snippets and offer small local helper commands. Before installing or running it: (1) inspect the two shipped scripts (already included) to confirm you are comfortable with their file reads/writes; (2) run them as a non-root user — they only print commands and templates and do not execute systemctl/tar by themselves; (3) be aware the tool reads /var/log/syslog and /proc and writes a history.log under $NGINX_CONFIG_DIR or your home directory; (4) if you will use SSL paths or certbot integration, ensure the cert paths (/etc/letsencrypt) are correct for your system. If you need absolute assurance, run the scripts in a sandbox or test VM first.

Like a lobster shell, security has layers — review code before you run it.

chinesevk97eakjbgw0zyb3xpa5pgj0q4x82pf68latestvk978m994mv5yqsxbcxjaazj5a5833bqsproductivityvk97eakjbgw0zyb3xpa5pgj0q4x82pf68

License

MIT-0
Free to use, modify, and redistribute. No attribution required.

Comments