Snrat 2a2e6607b8 feat: 重构OpenResty模块部分以支持动态编译 (#13291)
* feat: support dynamic module build for OpenResty

* feat: add dynamic module build page for OpenResty

* refactor: drop auto fallback, gate dynamic build by version support

- remove auto-to-static fallback; dynamic build failure now reports the
  error and hints switching to static build manually
- gate dynamic builds on module support files (Dockerfile.modules +
  module.catalog.json) instead of version numbers, expose
  dynamicSupported in the modules API
- collect repeated path/status/operate strings into constants
- move nginx module regex patterns into utils/re with semantic helpers
- reorganize nginx_module.go around the main build flows and inline
  single-use thin helpers

* feat: limit nginx module build mode options by version support

- build mode radio offers only dynamic and static (auto maps to dynamic
  for legacy data)
- disable the dynamic option with a hint when the installed OpenResty
  version lacks dynamic build support

* feat: complete i18n for nginx module pages

Fill in the new nginx module keys for all eleven language files
(translations other than zh/en are draft machine translations).

* feat: probe dynamic module support on load and drop the auto build mode

- probe each non-static module's configure params when loading the
  module list and report dynamicSupport=supported/unsupported up front
- normalize the legacy auto build mode to dynamic

* feat: clarify module build modes in the UI

- build drawer lists dynamic modules (tagged, hot-reload) and static
  modules (tagged, full rebuild + container restart) separately
- disable the dynamic option per module when its params do not support
  dynamic build, distinct from the version gate hint
- drop the auto build mode wording everywhere and sync all eleven
  language files

* feat: clarify purpose of the nginx module build drawer

- add a purpose hint explaining dynamic (hot reload) vs static (full
  rebuild + container restart)
- drop the per-module mode tags now that section headers carry the
  semantics
- allow submitting with zero dynamic modules selected when static
  modules are present, so static-only users can trigger a build

* feat: pass apt mirror through to dynamic module builds

The mirror selected in the build dialog (or CONTAINER_PACKAGE_URL in the
app env as fallback) is now forwarded as a build arg so the module
builder uses the same apt source as the static build path. test-builder
gains a --mirror option.

* feat: add Lao translations for nginx module pages
2026-07-23 13:55:42 +08:00
2025-03-05 17:47:19 +08:00
2025-07-07 12:09:52 +08:00
2026-07-22 18:41:21 +08:00
2024-04-07 11:59:42 +08:00
2026-05-21 18:20:06 +08:00
2025-07-07 12:09:52 +08:00
2022-08-17 09:37:30 +08:00
2026-05-26 10:28:49 +08:00
2025-03-05 17:47:19 +08:00

1Panel

The open-source VPS control panel with native AI agent support

Trusted by 2,000,000+ self-hosters worldwide

1Panel-dev%2F1Panel | Trendshift

License: GPL v3 Codacy Discord GitHub release Stars

English 中文(简体) 日本語 Português (Brasil) العربية Deutsch Español français 한국어 Bahasa Indonesia 中文(繁體) Türkçe Русский Bahasa Melayu Persian ພາສາລາວ


What is 1Panel?

1Panel is a modern, open-source VPS control panel — and the only one with native AI agent support. Run Ollama models, deploy OpenClaw agents, and manage your entire server stack from one clean web interface. No CLI memorization required.

👉 Watch the 2-minute introduction

Why 1Panel?

1Panel cPanel / Plesk aaPanel Webmin
Free & open source Partial
Native AI agent runtime
One-click app marketplace 165+ apps
Modern UI (post-2020) Partial
Docker / container management
Active development Slow

Key Features

  • AI Agent Runtime: Deploy Ollama LLMs, spin up OpenClaw personal agents, and monitor GPU utilization — all from the dashboard. No separate AI stack to manage.
  • One-Click Website Deployment: Launch production-ready websites with automatic domain binding, SSL provisioning, and Nginx config — zero manual setup.
  • App Marketplace: 165+ trusted open-source apps (Nextcloud, Bitwarden, Umami, NocoBase, and more) installed and updated with a single click.
  • Docker & Container Management: Create, start, stop, and inspect containers, images, networks, and volumes through a visual UI — no CLI juggling.
  • Security Out of the Box: Firewall rules, fail2ban, container isolation, WAF, and audit logs — configured and running from day one.
  • Backup & Restore: Schedule automated backups to AWS S3, Cloudflare R2, or local storage. Restore any snapshot in one click.

Quick Start

Requirements: Linux VPS (Debian / Ubuntu / CentOS / Rocky), 1 GB RAM, internet access.
Takes ~60 seconds.

bash -c "$(curl -sSL https://resource.1panel.pro/v2/quick_start.sh)"

After installation, open http://<your-server-ip>:<port>/<security-path> in your browser.
Run 1pctl user-info via SSH if you need to retrieve your access credentials.

Screenshot

1Panel UI

Pro Edition

1Panel OSS is free forever. Pro adds features built for teams and production workloads:

Feature OSS Pro
One-click app installs
AI agents (OpenClaw) 1 agent Unlimited
WAF & advanced security Basic
Website tamper protection
Website uptime monitoring
Multi-node management
Custom logo & theme
Priority support

From $80/year. Compare plans & start 30-day free trial →

Star History

Star History Chart

Community & Support

Security

Found a vulnerability? Please read SECURITY.md before disclosing.

License

Licensed under the GNU General Public License v3.0.

S
Description
🔥 1Panel is a modern, open-source Linux server management panel and a lightweight AI management platform.
Readme GPL-3.0
138 MiB
Languages
Go 73.1%
Vue 26.8%