<commit_before>worker_processes  1;
daemon off;

error_log  stderr warn;
pid        {{pidfile}};

events {
  worker_connections  1024;
}


http {

  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  /dev/stdout main;

  default_type  application/octet-stream;
  # Large numbers of vhosts means super-size hash size
  server_names_hash_max_size 32768;
  # vhost names are a bit long too
  server_names_hash_bucket_size 256;
  sendfile        on;
  keepalive_timeout  65;
  client_max_body_size 1G;
  # Do not use SSLv3 - POODLE vulnerability
  ssl_protocols  TLSv1 TLSv1.1 TLSv1.2;

  gzip on;
  gunzip on;
  gzip_proxied any;
  gzip_types text/css application/javascript application/json;

  proxy_cache_path {{cachedir}} keys_zone=main:128m;
  proxy_cache_key "$scheme$host$request_uri $http_accept";

  index   index.html index.htm;

  map $http_upgrade $connection_upgrade {
    default upgrade;
    ''      close;
  }

  map $http_x_forwarded_proto $user_proto {<commit_msg>Removing gunzip directive for Travis CI<commit_after>worker_processes  1;
daemon off;

error_log  stderr warn;
pid        {{pidfile}};

events {
  worker_connections  1024;
}


http {

  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  /dev/stdout main;

  default_type  application/octet-stream;
  # Large numbers of vhosts means super-size hash size
  server_names_hash_max_size 32768;
  # vhost names are a bit long too
  server_names_hash_bucket_size 256;
  sendfile        on;
  keepalive_timeout  65;
  client_max_body_size 1G;
  # Do not use SSLv3 - POODLE vulnerability
  ssl_protocols  TLSv1 TLSv1.1 TLSv1.2;

  gzip on;
  # Disabled because Travis CI fails. Not strictly necessary, given few clients
  # lack gzip support these days.
  #gunzip on;
  gzip_proxied any;
  gzip_types text/css application/javascript application/json;

  proxy_cache_path {{cachedir}} keys_zone=main:128m;
  proxy_cache_key "$scheme$host$request_uri $http_accept";

  index   index.html index.htm;

  map $http_upgrade $connection_upgrade {
    default upgrade;
    ''      close;
  }

  map $http_x_forwarded_proto $user_proto {
{'fraction_non_alphanumeric': 0.08138101109741061, 'fraction_numerical': 0.02055076037813399, 'mean_word_length': 3.524163568773234, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '1461432', 'n_tokens_mistral': 897, 'n_tokens_neox': 821, 'n_words': 205}