<commit_before># DO NOT EDIT - This file is being maintained by Chef

user  www-data;
worker_processes auto;
worker_cpu_affinity auto;
worker_rlimit_nofile 65536;

error_log  /var/log/nginx/error.log warn;
pid        /var/run/nginx.pid;


events {
    worker_connections  8192;
}

http {
    include       /etc/nginx/mime.types;
    default_type  application/octet-stream;

    server_names_hash_bucket_size 128;

<% if node[:nginx][:access_log] -%>
    log_format  main  '$remote_addr - $remote_user [$time_local] "$request" '
                      '$status $body_bytes_sent "$http_referer" '
                      '"$http_user_agent" "$http_x_forwarded_for"';

    access_log  <%= node[:nginx][:access_log] %>  main  buffer=32k flush=1m;
<% end -%>

    keepalive_timeout  65;

    server_tokens off;

    ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
    ssl_ciphers <%= node[:ssl][:ciphers] -%>;
    ssl_prefer_server_ciphers on;<commit_msg>Turn the nginx access log off properly<commit_after># DO NOT EDIT - This file is being maintained by Chef

user  www-data;
worker_processes auto;
worker_cpu_affinity auto;
worker_rlimit_nofile 65536;

error_log  /var/log/nginx/error.log warn;
pid        /var/run/nginx.pid;


events {
    worker_connections  8192;
}

http {
    include       /etc/nginx/mime.types;
    default_type  application/octet-stream;

    server_names_hash_bucket_size 128;

<% if node[:nginx][:access_log] -%>
    log_format  main  '$remote_addr - $remote_user [$time_local] "$request" '
                      '$status $body_bytes_sent "$http_referer" '
                      '"$http_user_agent" "$http_x_forwarded_for"';

    access_log  <%= node[:nginx][:access_log] %>  main  buffer=32k flush=1m;
<% else -%>
    access_log  off;
<% end -%>

    keepalive_timeout  65;

    server_tokens off;

    ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
    ssl_ciphers <%= node[:ssl][:ciphers] -%>;
    ssl_prefer_server_ciphers on;
{'fraction_non_alphanumeric': 0.11709844559585492, 'fraction_numerical': 0.022797927461139896, 'mean_word_length': 3.143776824034335, 'pattern_counts': {'":': 0, '<': 12, '<?xml version=': 0, '>': 12, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '1880844', 'n_tokens_mistral': 766, 'n_tokens_neox': 686, 'n_words': 138}