AlphaMoatによると、2026-09時点でNginx Config Creatorのダウンロード数は3,130、スター数は0で、AIスキル全体5,078件中3,637位、IT運用・セキュリティでは264件中238位です。
| プラットフォーム | インストール数 | ダウンロード数 | スター数 | コメント |
|---|---|---|---|---|
| ClawHub ↗ | 95 | 2935 | - | - |
| SkillHub ↗ | 182 | 3130 | - | — |
プラットフォームごとに集計方法と集計時点が異なります。
文書の手順ではサービス、ドメイン、ポートをもとに設定を作成し、検証してからWebサーバーを再読み込みします。稼働中の設定を変更する可能性があるため、管理された環境で候補を確認し、既存ファイルを先にバックアップしてください。
資料公開日 2026-10-27
スキルのドキュメントをもとに生成した例であり、実際の実行結果ではありません。
2026-09 から集計方法を変更し、同名スキルを作者ごとに分けて集計し、全スキルを対象にしました。破線は変更前の月で、変更後のデータとは直接比較せず、変更をまたぐ増減も計算していません。
| 月 | ダウンロード数 | 前月比 | スター数 |
|---|---|---|---|
| 2026-09 | 3130 | — | - |
| 2026-08 | 2852 | +3.9% | - |
| 2026-07 | 2744 | +9.0% | - |
| 2026-06 | 2518 | +6.0% | - |
| 2026-05 | 2376 | — | - |
| 2026-03 | 1840 | — | - |
作者が公開した元のファイルをテキストのまま表示しています。AlphaMoat による編集や審査はしていません。リンクはクリックできません。コマンドは内容を確認してから実行してください。取得日 2026-10-23。
---
name: nginx-config-creator
description: "Creates a standard Nginx/OpenResty reverse proxy config file for a service and reloads the web server. Features safety checks and environment awareness. Takes service name, domain, and port as main arguments."
metadata:
openclaw:
requires:
bins: ["bash", "docker"]
---
# Nginx Config Creator (Enterprise Grade)
This skill automates the creation of Nginx/OpenResty reverse proxy configurations. It is designed for both ease of use and safety, incorporating environment awareness and a critical safety-check mechanism.
## Features
- **Environment Awareness**: Simplifies commands by reading configuration from environment variables.
- **Safety Check**: Includes a '熔断' (fuse) mechanism. It tests the configuration before applying it and automatically rolls back if the test fails, preventing web server downtime.
## Pre-requisites (Recommended)
For maximum convenience, it is recommended to set the following environment variables on the host system:
- `NGINX_CONFIG_PATH`: The absolute path to the Nginx `conf.d` directory.
- `NGINX_CONTAINER_NAME`: The name of the running Nginx/OpenResty Docker container.
If these are not set, they **must** be provided as command-line arguments.
## Core Action: `scripts/create-and-reload.sh`
This script performs the entire operation.
### **Inputs (Command-Line Arguments)**
- `--service-name`: (Required) The short name for the service (e.g., `grafana`).
- `--domain`: (Required) The root domain name (e.g., `example.com`).
- `--port`: (Required) The local port the service is running on (e.g., `3000`).
- `--config-path`: (Optional) The path to Nginx's `conf.d` directory. **Overrides** the `NGINX_CONFIG_PATH` environment variable.
- `--container-name`: (Optional) The name of the Nginx Docker container. **Overrides** the `NGINX_CONTAINER_NAME` environment variable.
### **Output**
- **On Success**: Prints a step-by-step log of its actions and a final success message.
- **On Failure**: Prints a descriptive error message to stderr and exits. If the failure occurs during the Nginx configuration test, the full error from `nginx -t` is displayed.
### **Execution Workflow**
1. **Parse Arguments & Environment**: The script gathers all necessary paths and names from command-line arguments and environment variables.
2. **Generate Config**: It creates the `.conf` file in the target directory.
3. **Test Config (Safety Check)**: It executes `nginx -t` inside the specified container.
4. **Decide & Act**:
- If the test passes, it proceeds to reload Nginx via `nginx -s reload`.
- If the test fails, it **automatically deletes the generated file (rolls back)** and reports the error.
5. **Report Result**: Informs the user of the final outcome.
### **Example Usage**
**Scenario 1: Environment variables are pre-set**
```bash
# Set for future convenience
export NGINX_CONFIG_PATH="/path/to/your/nginx/conf.d"
export NGINX_CONTAINER_NAME="your_nginx_container"
# Now, the command is very simple:
bash skills/nginx-config-creator/scripts/create-and-reload.sh \
--service-name "grafana" \
--domain "example.com" \
--port "3000"
```
**Scenario 2: No environment variables (providing all info via arguments)**
```bash
bash skills/nginx-config-creator/scripts/create-and-reload.sh \
--service-name "grafana" \
--domain "example.com" \
--port "3000" \
--config-path "/path/to/your/nginx/conf.d" \
--container-name "your_nginx_container"
```
### **Failure Strategy**
- **Missing Arguments**: The script will exit with an error if required arguments/environment variables are missing.
- **`nginx -t` Fails**: The skill is designed to be safe. It will **not** attempt to reload a broken configuration. It will clean up after itself and show you the exact error, ensuring the live web server is never affected.
使う前にスキルパッケージの安全性を調べ、結果に応じて導入を止めるスキルです。
Manages free AI models from OpenRouter for OpenClaw. Automatically ranks models by quality, configures fallbacks for rate-limit handling, and updates opencla...
OpenClaw の設定、資格情報、ワークスペースをバックアップし復元するスキルです。
1Password CLI でシークレットを扱うための設定と使い方です。
プロンプト注入や危険なコマンドを検出すると説明されている OpenClaw 用セキュリティプラグインです。
tmux セッションを遠隔操作し、対話型 CLI にキーを送って出力を取得します。
アプリケーションセキュリティ技術者の視点でコードと構成を監査します。
Tencent Cloud のオブジェクトストレージとデータ処理サービスを管理するスキルです。
データ月:2026-09 · ダウンロード数、スター数、インストール数は公開スキルレジストリ(ClawHub、SkillHub)から月単位で集計しています。詳しくはデータの方法論をご覧ください。