title: Nginx duplicate log_format name timed_combined error
body: <p>I am getting this error:</p>
  
  <pre><code>Restarting nginx: nginx: [emerg] duplicate "log_format" name "timed_combined" in /etc/nginx/sites-enabled/default:8
  nginx: configuration file /etc/nginx/nginx.conf test failed
  </code></pre>
  
  <p>whenever I am tring to start or restart my nginx server. This does not happen before. Here's the first few lines of code in my <code>/etc/nginx/sites-enabled/default</code></p>
  
  <pre><code># You may add here your
  # server {
  #       ...
  # }
  # statements for each of your virtual hosts
  log_format timed_combined '$remote_addr - $remote_user [$time_local]  '
          '"$request" $status $body_bytes_sent '
          '"$http_referer" "$http_user_agent" $request_time';
  </code></pre>