Complete the command to reload the Nginx configuration without stopping the service.
sudo nginx [1]The -s reload signal tells Nginx to reload its configuration without stopping the service, allowing changes to take effect smoothly.
Complete the command to restart the Nginx service using systemctl.
sudo systemctl [1] nginxThe restart command stops and then starts the Nginx service, applying all changes but causing a brief downtime.
Fix the error in the command to reload Nginx configuration.
sudo nginx [1]The correct signal to reload configuration is -s reload. Using -s restart is invalid and causes an error.
Fill both blanks to create a command that reloads Nginx configuration and checks its status.
sudo systemctl [1] nginx && sudo systemctl [2] nginx
The first command reloads the configuration, and the second checks if Nginx is running properly.
Fill all three blanks to create a command sequence that tests Nginx config, reloads it if valid, and then shows active status.
sudo nginx -t && sudo systemctl [1] nginx && sudo systemctl [2] nginx && sudo systemctl [3] nginx
First, nginx -t tests the config. Then reload applies it without downtime. Finally, status shows if Nginx is active.