<commit_before>
#user  nobody;
worker_processes  1;

#error_log  logs/error.log;
#error_log  logs/error.log  notice;
#error_log  logs/error.log  info;
error_log {{OPENSHIFT_HOMEDIR}}/app-root/logs/nginx_error.log debug;

pid        {{NGINX_DIR}}/logs/nginx.pid;


events {
    worker_connections  1024;
}


http {
    include       mime.types;
    default_type  application/octet-stream;

    #log_format  main  '$remote_addr - $remote_user [$time_local] "$request" '
    #                  '$status $body_bytes_sent "$http_referer" '
    #                  '"$http_user_agent" "$http_x_forwarded_for"';

    #access_log  logs/access.log  main;
    #access_log $OPENSHIFT_DIY_LOG_DIR/access.log main;
    port_in_redirect off;

    sendfile        on;
    #tcp_nopush     on;

    #keepalive_timeout  0;
    keepalive_timeout  165;

    gzip  on;
	
	upstream frontends {
        #server pr4ss.tk;
        #server 192.168.127.12:80 weight=1;
		server {{OPENSHIFT_INTERNAL_IP}}:8081 ;
		
    }
	upstream frontends2 {
        server google.com;
        #server 192.168.127.12:80 weight=1;
		#server {{OPENSHIFT_INTERNAL_IP}}:8081 ;
		
    }
	upstream index {
        
		server {{OPENSHIFT_INTERNAL_IP}}:15001 weight=1;
		server {{OPENSHIFT_INTERNAL_IP}}:15002 weight=2;
		server {{OPENSHIFT_INTERNAL_IP}}:15003 weight=3;
		
    }
	upstream comment {
		server vb2-fishsmarkets.rhcloud.com;
		#server  community.elasa.ir;
	}

    server {
        listen      {{OPENSHIFT_INTERNAL_IP}}:{{OPENSHIFT_INTERNAL_PORT}};
        server_name  {{OPENSHIFT_GEAR_DNS}} {{www.OPENSHIFT_GEAR_DNS}};
		root {{OPENSHIFT_REPO_DIR}};


		set_real_ip_from {{OPENSHIFT_INTERNAL_IP}};
		real_ip_header X-Forwarded-For;

        #charset koi8-r;

        #access_log  logs/host.access.log  main;

        location /main {
            root   {{OPENSHIFT_REPO_DIR}};
            index  index.html index.htm;
			try_files $uri $uri/ =404;
			
			autoindex on;
			autoindex_exact_size off;<commit_msg>first commit<commit_after>
#user  nobody;
worker_processes  1;

#error_log  logs/error.log;
#error_log  logs/error.log  notice;
#error_log  logs/error.log  info;
error_log {{OPENSHIFT_HOMEDIR}}/app-root/logs/nginx_error.log debug;

pid        {{NGINX_DIR}}/logs/nginx.pid;


events {
    worker_connections  1024;
}


http {
    include       mime.types;
    default_type  application/octet-stream;

    #log_format  main  '$remote_addr - $remote_user [$time_local] "$request" '
    #                  '$status $body_bytes_sent "$http_referer" '
    #                  '"$http_user_agent" "$http_x_forwarded_for"';

    #access_log  logs/access.log  main;
    #access_log $OPENSHIFT_DIY_LOG_DIR/access.log main;
    port_in_redirect off;

    sendfile        on;
    #tcp_nopush     on;

    #keepalive_timeout  0;
    keepalive_timeout  165;

    gzip  on;
	
	upstream frontends {
        #server pr4ss.tk;
        #server 192.168.127.12:80 weight=1;
		server {{OPENSHIFT_INTERNAL_IP}}:8081 ;
		
    }
	upstream frontends2 {
        server google.com;
        #server 192.168.127.12:80 weight=1;
		#server {{OPENSHIFT_INTERNAL_IP}}:8081 ;
		
    }
	upstream index {
        
		server {{OPENSHIFT_INTERNAL_IP}}:15001 weight=1;
		server {{OPENSHIFT_INTERNAL_IP}}:15002 weight=2;
		server {{OPENSHIFT_INTERNAL_IP}}:15003 weight=3;
		
    }
	upstream comment {
		server vb2-fishsmarkets.rhcloud.com;
		#server  community.elasa.ir;
	}

    server {
        listen      {{OPENSHIFT_INTERNAL_IP}}:{{OPENSHIFT_INTERNAL_PORT}};
        server_name  {{OPENSHIFT_GEAR_DNS}} www.{{OPENSHIFT_GEAR_DNS}};
		root {{OPENSHIFT_REPO_DIR}};


		set_real_ip_from {{OPENSHIFT_INTERNAL_IP}};
		real_ip_header X-Forwarded-For;

        #charset koi8-r;

        #access_log  logs/host.access.log  main;

        location /main {
            root   {{OPENSHIFT_REPO_DIR}};
            index  index.html index.htm;
			try_files $uri $uri/ =404;
			
			autoindex on;
			autoindex_exact_size off;
{'fraction_non_alphanumeric': 0.11164679015478304, 'fraction_numerical': 0.035523978685612786, 'mean_word_length': 2.8123791102514506, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 4, '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': '6412273', 'n_tokens_mistral': 1600, 'n_tokens_neox': 1430, 'n_words': 244}