Hello,
Basically I want to create a custom log to write to it if the condition is satisfied within an "if" clause. Example:
location / {
if ($query_string ~ condition) {
custom_log /.../custom_log;
}}
Is this possible? Thanks in advance.
Basically I want to create a custom log to write to it if the condition is satisfied within an "if" clause. Example:
location / {
if ($query_string ~ condition) {
custom_log /.../custom_log;
}}
Is this possible? Thanks in advance.