<commit_before># EasyEngine admin NGINX CONFIGURATION

server {

  listen 22222 default_server ssl spdy;

  access_log   /var/log/nginx/22222.access.log rt_cache;
  error_log    /var/log/nginx/22222.error.log;

  ssl_certificate {{webroot}}22222/cert/22222.crt;
  ssl_certificate_key {{webroot}}22222/cert/22222.key;

  # Force HTTP to HTTPS
  error_page 497 =200 https://$host:22222$request_uri;

  root {{webroot}}22222/htdocs;
  index index.php index.htm index.html;

  # Turn on directory listing
  autoindex on;

  location / {
    include common/acl.conf;
    try_files $uri $uri/ /index.php?$args;
  }

  location =  /fpm/status/ {}

  location ~ /fpm/status/(.*) {
    include fastcgi_params;
    fastcgi_param  SCRIPT_NAME  /status;
    fastcgi_pass $1;
  }

  location ~ \.php$ {
    include common/acl.conf;
    try_files $uri =404;
    include fastcgi_params;
    fastcgi_pass php;
  }

  # ViMbAdmin Rules
  location = /vimbadmin/ {
    return 301 $scheme://$host:22222/vimbadmin/public/;
  }

  location ~* \.(js|css|jpg|gif|png)$ {
    root {{webroot}}22222/htdocs/;
  }

  location ~* /vimbadmin/public/(.*)/(.*) {
    root {{webroot}}22222/htdocs/vimbadmin/public;
    try_files $uri $uri/  /vimbadmin/public/index.php?$args;
  }

  location ~* /vimbadmin/public/(.*) {
    root {{webroot}}22222/htdocs/vimbadmin/public;
    try_files $uri $uri/  /vimbadmin/public/index.php?$args;
  }

}
<commit_msg>Fixed HTTP AUTH ISSUE for 22222 port<commit_after># EasyEngine admin NGINX CONFIGURATION

server {

  listen 22222 default_server ssl spdy;

  access_log   /var/log/nginx/22222.access.log rt_cache;
  error_log    /var/log/nginx/22222.error.log;

  ssl_certificate {{webroot}}22222/cert/22222.crt;
  ssl_certificate_key {{webroot}}22222/cert/22222.key;

  # Force HTTP to HTTPS
  error_page 497 =200 https://$host:22222$request_uri;

  root {{webroot}}22222/htdocs;
  index index.php index.htm index.html;

  # Turn on directory listing
  autoindex on;

  location / {
    include common/acl.conf;
    try_files $uri $uri/ /index.php?$args;
  }

  location =  /fpm/status/ {}

  location ~ /fpm/status/(.*) {
    include common/acl.conf;
    try_files $uri =404;
    include fastcgi_params;
    fastcgi_param  SCRIPT_NAME  /status;
    fastcgi_pass $1;
  }

  location ~ \.php$ {
    include common/acl.conf;
    try_files $uri =404;
    include fastcgi_params;
    fastcgi_pass php;
  }

  # ViMbAdmin Rules
  location = /vimbadmin/ {
    return 301 $scheme://$host:22222/vimbadmin/public/;
  }

  location ~* \.(js|css|jpg|gif|png)$ {
    root {{webroot}}22222/htdocs/;
  }

  location ~* /vimbadmin/public/(.*)/(.*) {
    root {{webroot}}22222/htdocs/vimbadmin/public;
    try_files $uri $uri/  /vimbadmin/public/index.php?$args;
  }

  location ~* /vimbadmin/public/(.*) {
    root {{webroot}}22222/htdocs/vimbadmin/public;
    try_files $uri $uri/  /vimbadmin/public/index.php?$args;
  }

}

{'fraction_non_alphanumeric': 0.14349467902506008, 'fraction_numerical': 0.05629934775145898, 'mean_word_length': 3.115819209039548, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '1983762', 'n_tokens_mistral': 1263, 'n_tokens_neox': 1095, 'n_words': 203}