server { # Relative or full path to log file access_log /path/to/file.log; # Turn 'on' or 'off' access_log on; }