poprawki
This commit is contained in:
10
README.md
10
README.md
@@ -1,6 +1,6 @@
|
|||||||
# NPM + Angie Auto Installer
|
# 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)
|
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).
|
- Creates **/etc/nginx -> /etc/angie** symlink (idempotent).
|
||||||
- Installs **Angie** and config templates; provides an **nginx wrapper** that makes config tests safe:
|
- 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.
|
- `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
|
## Post-Install
|
||||||
```bash
|
```bash
|
||||||
# Status
|
|
||||||
systemctl status angie.service --no-pager
|
systemctl status angie.service --no-pager
|
||||||
systemctl status npm.service --no-pager
|
systemctl status npm.service --no-pager
|
||||||
|
```
|
||||||
# NPM UI
|
# NPM UI
|
||||||
# Default: http(s)://<your-host>:81 (see summary printed by installer)
|
# Default: http(s)://<your-host>:81 (see summary printed by installer)
|
||||||
```
|
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user