Web Server

SolidGroundUX DocumentationSolidGroundUX
NL

Install, configure, manage, validate, and inspect an Nginx web server

Source: target-root/usr/local/libexec/solidgroundux/console-modules/50-web-server.sh

Install, configure, manage, validate, and inspect an Nginx web server

Public functions

Internal functions
FunctionPurposeArgumentsOutput
_sgnd_lib_guardEnsure the file is sourced as a library and marked as loaded.—(globals)
_web_run_manageRun the selected web-server action using the standalone web-server role manager.——
_web_run_publishRun a web publication action using the standalone deployment manager.——
_web_record_prepare_stepPersist one child-step result in the console tracker.- $1 ITEM_KEY—

Description

Registers Nginx host, site, publishing, documentation, service, validation, and status actions with the SolidGround Management Console. Persistent operations are implemented by manage-web-server.sh and publish-web-content.sh.

Module validation contract

Return codes: 0 = Passed 1 = Failed 2 = Warning 3 = Skipped / not applicable

Every validator sets SGND_MODULE_VALIDATION_MESSAGE to a concise result summary. Detailed diagnostic output may be written by the validator or delegated action.