<commit_before>daemon off;

pid {{run_dir}}/test-env-nginx.pid;

events {
  worker_connections 1024;
}

error_log stderr;

pcre_jit on;

http {
  access_log {{log_dir}}/test-env-nginx/access.log combined;

  client_body_temp_path {{tmp_dir}}/nginx-client_body_temp;
  proxy_temp_path {{tmp_dir}}/nginx-proxy_temp;
  fastcgi_temp_path {{tmp_dir}}/nginx-fastcgi_temp;
  uwsgi_temp_path {{tmp_dir}}/nginx-uwsgi_temp;
  scgi_temp_path {{tmp_dir}}/nginx-scgi_temp;
  server_tokens off;

  lua_package_path '{{_package_path}}';
  lua_package_cpath '{{_package_cpath}}';

  gzip on;
  gzip_comp_level 2;
  gzip_disable msie6;
  gzip_min_length 1000;
  gzip_proxied any;
  gzip_types application/atom+xml application/javascript application/json application/rss+xml application/x-javascript application/xml text/css text/csv text/javascript text/plain text/xml;
  gzip_vary on;

  include ./apis.conf;
}<commit_msg>Fix large file upload test failing.<commit_after>daemon off;

pid {{run_dir}}/test-env-nginx.pid;

events {
  worker_connections 1024;
}

error_log stderr;

pcre_jit on;

http {
  access_log {{log_dir}}/test-env-nginx/access.log combined;

  client_body_temp_path {{tmp_dir}}/nginx-client_body_temp;
  proxy_temp_path {{tmp_dir}}/nginx-proxy_temp;
  fastcgi_temp_path {{tmp_dir}}/nginx-fastcgi_temp;
  uwsgi_temp_path {{tmp_dir}}/nginx-uwsgi_temp;
  scgi_temp_path {{tmp_dir}}/nginx-scgi_temp;
  server_tokens off;

  lua_package_path '{{_package_path}}';
  lua_package_cpath '{{_package_cpath}}';

  gzip on;
  gzip_comp_level 2;
  gzip_disable msie6;
  gzip_min_length 1000;
  gzip_proxied any;
  gzip_types application/atom+xml application/javascript application/json application/rss+xml application/x-javascript application/xml text/css text/csv text/javascript text/plain text/xml;
  gzip_vary on;

  # Don't restrict file upload size.
  client_max_body_size 0;

  include ./apis.conf;
}
{'fraction_non_alphanumeric': 0.11327713382507903, 'fraction_numerical': 0.011064278187565859, 'mean_word_length': 5.351170568561873, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 8}, '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': '1555445', 'n_tokens_mistral': 764, 'n_tokens_neox': 707, 'n_words': 126}