8.1. Monitoring the State of the Web Server #
To monitor the state of the web server:
Track the state of the web server service using the
systemctl status nginx.servicecommand. The output must contain:Loaded: loaded Active: active (running)
Check that no errors appear in the web server log files using the
journalctl -u nginxcommand.
To fix issues that might occur, refer to the web server work guide in documentation of the OS manufacturer.