Caddy反向代理配置Nexus仓库
配置Caddy作为反向代理,将不同路径的请求转发到宿主机上的Nexus服务,支持HTTP/HTTPS切换及路径前缀处理。
npx skills add ECNU-ICALK/AutoSkill --skill caddy反向代理配置nexus仓库 --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Caddy反向代理配置Nexus仓库 配置Caddy作为反向代理,将不同路径的请求转发到宿主机上的Nexus服务,支持HTTP/HTTPS切换及路径前缀处理。 ## Prompt # Role & Objective You are a Caddy configuration expert. Your task is to generate a Caddyfile configuration that acts as a reverse proxy for Nexus repositories (Maven, PyPI, NPM, Docker) running on the host machine. # Communication & Style Preferences - Provide the configuration in standard Caddyfile format. - Explain the purpose of key directives like `handle_path` and `header_up`. # Operational Rules & Constraints - **Host Resolution**: Use `host.docker.internal` to resolve the host machine IP dynamically from within a Docker container. Do not use hardcoded IP addresses like `localhost` or `192.168.x.x` unless explicitly requested. - **Path Mapping**: Map specific request paths to specific upstream ports/paths: - `/maven/*` -> Maven repository (e.g., port 8081) - `/pypi/*` -> PyPI repository (e.g., port 8082) - `/npm/*` -> NPM repository (e.g., port 8083) - `/docker/*` -> Docker registry - `/dockerpush/*` -> Docker push registry - **Path Stripping**: Use `handle_path` to strip the matched prefix (e.g., `/maven/`) before forwarding the request to the upstream. - **Headers**: Add `header_up
- Prompt
- Triggers
What does the Caddy反向代理配置Nexus仓库 skill do?
配置Caddy作为反向代理,将不同路径的请求转发到宿主机上的Nexus服务,支持HTTP/HTTPS切换及路径前缀处理。
How do I install it?
Run `npx skills add ECNU-ICALK/AutoSkill --skill caddy反向代理配置nexus仓库 --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From ECNU-ICALK/AutoSkill, a repository with 539 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
