<commit_before># Example template for PHP-FPM based projects
#
# The template which nginx uses within a boxen::project can be overridden
# to a specific template such as this one.
#
# You will likely need to change both the root and SCRIPT_FILENAME parameters below
# to match your setup
#
server {
  access_log <%= scope.lookupvar "nginx::config::logdir" %>/<%= name %>.access.log main;
  listen 80;
  root <%= repo_dir %>/www;
  server_name <%= name %>.dev;

  client_max_body_size 50M;

  error_page 500 502 503 504 /50x.html;

  location / {
    include <%= scope.lookupvar "nginx::config::configdir" %>/fastcgi_params;
    keepalive_timeout 0;
    fastcgi_pass unix:<%= scope.lookupvar "boxen::config::socketdir" %>/<%= name %>;<commit_msg>consume $server_name variable in NGINX config template<commit_after># Example template for PHP-FPM based projects
#
# The template which nginx uses within a boxen::project can be overridden
# to a specific template such as this one.
#
# You will likely need to change both the root and SCRIPT_FILENAME parameters below
# to match your setup
#
server {
  access_log <%= scope.lookupvar "nginx::config::logdir" %>/<%= name %>.access.log main;
  listen 80;
  root <%= repo_dir %>/www;
  server_name <%= server_name %>;

  client_max_body_size 50M;

  error_page 500 502 503 504 /50x.html;

  location / {
    include <%= scope.lookupvar "nginx::config::configdir" %>/fastcgi_params;
    keepalive_timeout 0;
    fastcgi_pass unix:<%= scope.lookupvar "boxen::config::socketdir" %>/<%= name %>;
{'fraction_non_alphanumeric': 0.121251629726206, 'fraction_numerical': 0.024771838331160364, 'mean_word_length': 4.443262411347518, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 17, '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': '4715055', 'n_tokens_mistral': 561, 'n_tokens_neox': 481, 'n_words': 161}