Complete the command to test the nginx configuration for syntax errors.
sudo nginx [1]The -t option tells nginx to test the configuration file for syntax errors without starting the server.
Complete the command to test nginx configuration using a specific config file located at /etc/nginx/custom.conf.
sudo nginx -t [1] /etc/nginx/custom.confThe -c option specifies the path to the configuration file to test.
Fix the error in the command to test nginx configuration syntax.
sudo nginx [1] -tThe -t option must come directly after the nginx command to test configuration syntax. Placing it after other options causes errors.
Fill both blanks to complete the command that tests nginx configuration and specifies a custom prefix directory.
sudo nginx [1] [2] /etc/nginx
The -t option tests the configuration syntax, and -p sets the prefix directory for nginx.
Fill all three blanks to create a command that tests nginx configuration, specifies a config file, and sends a reload signal if the test passes.
sudo nginx [1] [2] /etc/nginx/nginx.conf [3] reload
The -t option tests the configuration, -c specifies the config file, and -s reload sends the reload signal to nginx.