<commit_before>worker_processes 1;
error_log stderr;
pid nginx.pid;
daemon off;

events {
  worker_connections 4096;
}

http {
  types_hash_max_size 2048;
  include mime.types;
  server {
    listen <%= ENV["PORT"] %>;
    server_name  _;
    
    location ~* \.html$ {
      root /app/www/dist;
      expires 5m;
      try_files $uri /index.html;
    }
    location / {
      root /app/www/dist;
      try_files $uri /index.html;
      expires 1d;
    }

    location /admin {
      alias /app/www/dist;
      try_files $uri /admin.html;
      expires 1d;
    }
  }
}<commit_msg>Update nginx.conf.erb<commit_after>worker_processes 1;
error_log stderr;
pid nginx.pid;
daemon off;

events {
  worker_connections 4096;
}

http {
  types_hash_max_size 2048;
  include mime.types;
  server {
    listen <%= ENV["PORT"] %>;
    server_name  _;
    
    location ~* \.html$ {
      root /app/www/dist;
      expires 5m;
      try_files $uri /index.html;
    }
    location / {
      root /app/www/dist;
      try_files $uri /index.html;
      expires 1d;
    }

    location /admin {
      alias /app/www/dist;
      try_files $uri /admin/index.html;
      expires 1d;
    }
  }
}
{'fraction_non_alphanumeric': 0.1201022146507666, 'fraction_numerical': 0.020442930153321975, 'mean_word_length': 2.083989501312336, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 6, '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': '2181297', 'n_tokens_mistral': 477, 'n_tokens_neox': 440, 'n_words': 93}