1. Home
  2. vDDoS Proxy Protection
  3. Configure Logging Errors

Configure Logging Errors

To Configure Logging and Log Rotation in vDDoS please edit logs.conf file:

nano /vddos/conf.d/logs.conf

# Log format
log_format  main    '$remote_addr - $remote_user [$time_local] $request '
                    '"$status" $body_bytes_sent "$scheme://$host:$server_port$uri$query_string" "$http_referer" '
                    '"$http_user_agent" "$http_x_forwarded_for"'; 
log_format  bytes   '$body_bytes_sent';
access_log          /var/log/vddos/access.log  main;
access_log on;

Was this article helpful to you? Yes No