<commit_before>access-log:
  path: /dev/stdout
  format: "measure#h2o.service=%{duration}x request_id=%{x-request-id}i"

http1-request-timeout: 3600

hosts:
  "*.herokuapp.com":
    listen:
      port: <%= ENV["PORT"] %>
    paths:
      "/":
        proxy.reverse.url:  http://[unix:/tmp/h2o.socket]/
        proxy.preserve-host: ON
        proxy.timeout.keepalive: 0<commit_msg>Serve static assets using h2o instead of Warehouse<commit_after>access-log:
  path: /dev/stdout
  format: "measure#h2o.service=%{duration}x request_id=%{x-request-id}i"

http1-request-timeout: 3600

hosts:
  "*.herokuapp.com":
    listen:
      port: <%= ENV["PORT"] %>
    paths:
      "/":
        proxy.reverse.url:  http://[unix:/tmp/h2o.socket]/
        proxy.preserve-host: ON
        proxy.timeout.keepalive: 0
      "/static":
        file.dir: /app/warehouse/static/dist
        file.etag: ON
        file.send-compressed: ON
        expires: 10 year
{'fraction_non_alphanumeric': 0.16187433439829607, 'fraction_numerical': 0.02023429179978701, 'mean_word_length': 2.6015325670498086, 'pattern_counts': {'":': 5, '<': 5, '<?xml version=': 0, '>': 5, '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': '1728871', 'n_tokens_mistral': 362, 'n_tokens_neox': 338, 'n_words': 56}