<commit_before>worker_processes auto;
daemon off;

events {
    use epoll;
    worker_connections  2048;
    multi_accept on;
}

http {
    sendfile    on;
    server_tokens off;
    tcp_nopush  on;
    tcp_nodelay on;

    keepalive_timeout  65;

    gzip on;
    gzip_proxied any;
    gzip_min_length 1000;
    gzip_comp_level 4;
    gzip_types text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript;

    log_format l2met 'measure#nginx.service=$request_time request_id=$http_x_request_id';
    error_log  /app/nginx/logs/error.log crit;
    access_log /app/nginx/logs/access.log l2met;

    include mime.types;

    server {
        root /app/wwwroot;
        listen <%= ENV['PORT'] %>;
        try_files $uri @app_server;

	location @app_server {
	    proxy_pass http://127.0.0.1:8080;
	    proxy_read_timeout 60s;
        }
    }
}
<commit_msg>more stuff<commit_after>worker_processes auto;
daemon off;

events {
    use epoll;
    worker_connections  2048;
    multi_accept on;
}

http {
    sendfile    on;
    server_tokens off;
    tcp_nopush  on;
    tcp_nodelay on;

    keepalive_timeout  65;

    gzip on;
    gzip_proxied any;
    gzip_min_length 1000;
    gzip_comp_level 4;
    gzip_types text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript;

    log_format l2met 'measure#nginx.service=$request_time request_id=$http_x_request_id';
    error_log  /app/nginx/logs/error.log crit;
    access_log /app/nginx/logs/access.log l2met;

    include mime.types;

    server {
        root /app/wwwroot;
        listen <%= ENV['PORT'] %>;
        try_files $uri @app_server;

	location @app_server {
	    proxy_pass http://127.0.0.1:8080;
	    proxy_read_timeout 60s;
	    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
	    proxy_set_header Host $http_host;
	    proxy_redirect off;
        }
    }
}

{'fraction_non_alphanumeric': 0.09016811003565971, 'fraction_numerical': 0.02547121752419766, 'mean_word_length': 2.9201596806387227, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 6}, 'pii_count': 2, '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': '5590290', 'n_tokens_mistral': 748, 'n_tokens_neox': 690, 'n_words': 139}