<commit_before>upstream php5-fpm {
  server unix:/var/run/php5-fpm.sock;
}

upstream fcgiwrap {
  server unix:/var/run/fcgiwrap.sock;
}

server {
  listen 80;
  server_name nagios.pittcsc.org;

  root /usr/share/nagios3/htdocs;
  index index.php index.html;

  location /stylesheets {
    alias /etc/nagios3/stylesheets;
  }

  location ~ \.cgi$ {
    root /usr/lib/cgi-bin/nagios3;

    rewrite ^/cgi-bin/nagios3/(.*)$ /$1;

    include /etc/nginx/fastcgi_params;<commit_msg>fcgiwrap uses a different socket extension<commit_after>upstream php5-fpm {
  server unix:/var/run/php5-fpm.sock;
}

upstream fcgiwrap {
  server unix:/var/run/fcgiwrap.socket;
}

server {
  listen 80;
  server_name nagios.pittcsc.org;

  root /usr/share/nagios3/htdocs;
  index index.php index.html;

  location /stylesheets {
    alias /etc/nagios3/stylesheets;
  }

  location ~ \.cgi$ {
    root /usr/lib/cgi-bin/nagios3;

    rewrite ^/cgi-bin/nagios3/(.*)$ /$1;

    include /etc/nginx/fastcgi_params;
{'fraction_non_alphanumeric': 0.14038657171922686, 'fraction_numerical': 0.018311291963377416, 'mean_word_length': 3.0661157024793386, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '3215997', 'n_tokens_mistral': 436, 'n_tokens_neox': 402, 'n_words': 66}