feat: add nginx:reload command

Reloads the nginx server config after validating it with `nginx -t`. Useful for picking up changes to globally managed nginx configs without restarting the running process.
This commit is contained in:
Jose Diaz-Gonzalez
2026-04-27 02:55:30 -04:00
parent e4a8cfc74f
commit a4f26a356a
3 changed files with 30 additions and 0 deletions

View File

@@ -32,6 +32,7 @@ fn-help-content() {
nginx:report [<app>] [<flag>], Displays an nginx report for one or more apps
nginx:set <app> <property> (<value>), Set or clear an nginx property for an app
nginx:show-config <app>, Display app nginx config
nginx:reload, Reloads the nginx server config
nginx:start, Starts the nginx server
nginx:stop, Stops the nginx server
nginx:validate-config [<app>] [--clean], Validates and optionally cleans up invalid nginx configurations