This commit is contained in:
Mateusz Gruszczyński
2025-10-24 09:05:34 +02:00
parent 64616f66d3
commit 50d5387f89

View File

@@ -1,6 +1,6 @@
# NPM + Angie Auto Installer
Minimal, repeatable setup for **Nginx Proxy Manager (NPM)** on **Angie** (Debian 13).
Minimal, repeatable setup for **Nginx Proxy Manager (NPM)** on **Angie** (Debian / Ubuntu).
The installer configures Angie, deploys NPM (frontend + backend), fixes common pitfalls (PID tests, logrotate)
---
@@ -47,9 +47,6 @@ sudo python3 install.py --dark-mode
- Creates **/etc/nginx -> /etc/angie** symlink (idempotent).
- Installs **Angie** and config templates; provides an **nginx wrapper** that makes config tests safe:
- `nginx -t` automatically uses `-g "pid /tmp/angie-test.pid; error_log off;"` and strips other `-g` flags.
- Prepares **/run/angie/angie.pid** with sane permissions.
- Configures **logrotate** for `/data/logs/*.log` (daily, rotate 7, compress) and provides a **logrotate-npm** helper that uses a writable state file at `/opt/npm/var/logrotate.state`.
- Deploys NPM (frontend + backend) and for building the legacy frontend.
---
@@ -65,13 +62,12 @@ Check `--help` in the script for all flags.
## Post-Install
```bash
# Status
systemctl status angie.service --no-pager
systemctl status npm.service --no-pager
```
# NPM UI
# Default: http(s)://<your-host>:81 (see summary printed by installer)
```
---