<commit_before>upstream <%= unicorn_name %>_server {
  server unix:/tmp/<%= unicorn_name %>.sock fail_timeout=30;
}

server {
  server_name <%= fetch :application %> www.<%= fetch :application %>;
  listen 80 default_server;

  access_log <%= fetch(:shared_path) %>/access.log;
  error_log  <%= fetch(:shared_path) %>/error.log;

  root <%= fetch(:current_path) %>/public;

  try_files $uri/index.html $uri.html $uri @app;

  location @app {
    proxy_set_header X-Forwarded-Proto $scheme;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_set_header Host $http_host;
    proxy_redirect off;
    proxy_pass http://<%= unicorn_name %>_server;
  }
}<commit_msg>FIXED: Removed 'fetch' to get correct path<commit_after>upstream <%= unicorn_name %>_server {
  server unix:/tmp/<%= unicorn_name %>.sock fail_timeout=30;
}

server {
  server_name <%= fetch :application %> www.<%= fetch :application %>;
  listen 80 default_server;

  access_log <%= shared_path %>/access.log;
  error_log  <%= shared_path %>/error.log;

  root <%= current_path %>/public;

  try_files $uri/index.html $uri.html $uri @app;

  location @app {
    proxy_set_header X-Forwarded-Proto $scheme;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_set_header Host $http_host;
    proxy_redirect off;
    proxy_pass http://<%= unicorn_name %>_server;
  }
}
{'fraction_non_alphanumeric': 0.14275309541150766, 'fraction_numerical': 0.005826656955571741, 'mean_word_length': 4.430830039525691, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 19, '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': '2339656', 'n_tokens_mistral': 525, 'n_tokens_neox': 471, 'n_words': 104}