<commit_before>user <%= node['private_chef']['user']['username'] %> <%= node['private_chef']['user']['username']%>;
worker_processes <%= @worker_processes %>;
error_log /var/log/opscode/nginx/error.log<%= node['private_chef']['lb']['debug'] ? " debug" : "" %>;

daemon off;

events {
  worker_connections <%= @worker_connections %>;
}

server_names_hash_bucket_size <%= @server_names_hash_bucket_size %>;

http {
<% if node['private_chef']['nginx']['log_x_forwarded_for'] -%>
  log_format opscode '$http_x_forwarded_for - $remote_user [$time_local]  '
<% else -%>
  log_format opscode '$remote_addr - $remote_user [$time_local]  '
<% end -%>
                    '"$request" $status "$request_time" $body_bytes_sent '
                    '"$http_referer" "$http_user_agent" "$upstream_addr" "$upstream_status" "$upstream_response_time" "$http_x_chef_version" "$http_x_ops_sign" "$http_x_ops_userid" "$http_x_ops_timestamp" "$http_x_ops_content_hash" $request_length';

  sendfile <%= @sendfile %>;
  tcp_nopush <%= @tcp_nopush %>;
  tcp_nodelay <%= @tcp_nodelay %>;
<commit_msg>move hash_bucket_size to correct place in config file<commit_after>user <%= node['private_chef']['user']['username'] %> <%= node['private_chef']['user']['username']%>;
worker_processes <%= @worker_processes %>;
error_log /var/log/opscode/nginx/error.log<%= node['private_chef']['lb']['debug'] ? " debug" : "" %>;

daemon off;

events {
  worker_connections <%= @worker_connections %>;
}

http {
<% if node['private_chef']['nginx']['log_x_forwarded_for'] -%>
  log_format opscode '$http_x_forwarded_for - $remote_user [$time_local]  '
<% else -%>
  log_format opscode '$remote_addr - $remote_user [$time_local]  '
<% end -%>
                    '"$request" $status "$request_time" $body_bytes_sent '
                    '"$http_referer" "$http_user_agent" "$upstream_addr" "$upstream_status" "$upstream_response_time" "$http_x_chef_version" "$http_x_ops_sign" "$http_x_ops_userid" "$http_x_ops_timestamp" "$http_x_ops_content_hash" $request_length';

  server_names_hash_bucket_size <%= @server_names_hash_bucket_size %>;

  sendfile <%= @sendfile %>;
  tcp_nopush <%= @tcp_nopush %>;
  tcp_nodelay <%= @tcp_nodelay %>;

{'fraction_non_alphanumeric': 0.1830601092896175, 'fraction_numerical': 0.0, 'mean_word_length': 5.8229813664596275, 'pattern_counts': {'":': 0, '<': 27, '<?xml version=': 0, '>': 27, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6820758', 'n_tokens_mistral': 833, 'n_tokens_neox': 773, 'n_words': 111}