<commit_before>server {
  access_log <%= scope.lookupvar "nginx::config::logdir" %>/<%= @name %>.access.log main;
  listen 80;
  root <%= scope.lookupvar "boxen::config::srcdir" %>/<%= @name %>/output/package;
  server_name <%= @server_name %> *.<%= @server_name %>;

  client_max_body_size 50M;
  error_page 500 502 503 504 /50x.html;

  location = /50x.html {
    root html;
  }

  try_files $uri/index.html $uri @<%= @server_name %>;
}

server {
  access_log <%= scope.lookupvar "nginx::config::logdir" %>/devppm.daptiv.com.access.log main;
  listen 80;
  server_name devppm.daptiv.com;

  client_max_body_size 50M;

  location /spa {
    autoindex on;
    alias <%= scope.lookupvar "boxen::config::srcdir" %>/<%= @name %>/output/package/;
  }

  location / {
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_set_header Host $http_host;
    proxy_redirect off;
    proxy_pass http://localvm.daptiv.com:9091;
  }
}<commit_msg>Adding _api route to ppspa devppm.daptiv.com profile<commit_after>server {
  access_log <%= scope.lookupvar "nginx::config::logdir" %>/<%= @name %>.access.log main;
  listen 80;
  root <%= scope.lookupvar "boxen::config::srcdir" %>/<%= @name %>/output/package;
  server_name <%= @server_name %> *.<%= @server_name %>;

  client_max_body_size 50M;
  error_page 500 502 503 504 /50x.html;

  location = /50x.html {
    root html;
  }

  try_files $uri/index.html $uri @<%= @server_name %>;
}

server {
  access_log <%= scope.lookupvar "nginx::config::logdir" %>/devppm.daptiv.com.access.log main;
  listen 80;
  server_name devppm.daptiv.com;

  client_max_body_size 50M;

  location /spa {
    autoindex on;
    alias <%= scope.lookupvar "boxen::config::srcdir" %>/<%= @name %>/output/package/;
  }

  location /_api/ {
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_set_header Host $http_host;
    proxy_redirect off;
    rewrite /_api/(.*) /$1 break;
    proxy_pass http://localvm.daptiv.com:9092;
  }

  location / {
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_set_header Host $http_host;
    proxy_redirect off;
    proxy_pass http://localvm.daptiv.com:9091;
  }
}
{'fraction_non_alphanumeric': 0.15642201834862385, 'fraction_numerical': 0.02798165137614679, 'mean_word_length': 3.825221238938053, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 23, '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': '2756835', 'n_tokens_mistral': 918, 'n_tokens_neox': 819, 'n_words': 152}