Complete the code to set the error log file path in nginx configuration.
error_log [1];The error_log directive specifies the path to the error log file. The correct path is /var/log/nginx/error.log.
Complete the code to set the error log level to 'warn' in nginx configuration.
error_log /var/log/nginx/error.log [1];info or debug when warn is required.error.The error log level warn records warning messages and above.
Fix the error in the code to correctly set the error log path and level.
error_log /var/log/nginx/error.log [1];warn as warning or warnning.warns.The correct log level keyword is warn. Other options are invalid and cause errors.
Fill both blanks to configure error log path and log level correctly.
error_log [1] [2];
info when warn is expected.The error log path is set to /var/log/nginx/custom_error.log and the log level to warn.
Fill all three blanks to configure error log path, log level, and disable logging to stderr.
error_log [1] [2] [3];
error instead of warn for the log level.The error log is set to /var/log/nginx/error.log with level warn and logging to stderr is disabled by off.