<commit_before>server {
        listen   80; ## listen for ipv4; this line is default and implied
        #listen   [::]:80 default_server ipv6only=on; ## listen for ipv6

        access_log /srv/www/<%= @hostname %>/logs/access.log;
        error_log  /srv/www/<%= @hostname %>/logs/error.log;

        error_page 404 /404.html;

        root /srv/www/<%= @hostname %>/htdocs;
        index index.php index.html index.htm;

        server_name achinsk.your-domain.ru;

        location / {
                try_files $uri $uri/ /index.php?$args;
        }

        location ~ \.php$ {
                include fastcgi_params;
                fastcgi_split_path_info ^(.+\.php)(/.+)$;
                fastcgi_pass unix:/var/run/php5-fpm/<%= @hostname %>.sock;

                fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
                fastcgi_index index.php;
                try_files $uri =404;
        }

        location ~ /\.ht {
               deny all;
        }
}<commit_msg>Update nginx-host.erb<commit_after>server {
        listen   80; ## listen for ipv4; this line is default and implied
        #listen   [::]:80 default_server ipv6only=on; ## listen for ipv6

        access_log /srv/www/<%= @hostname %>/logs/access.log;
        error_log  /srv/www/<%= @hostname %>/logs/error.log;

        error_page 404 /404.html;

        root /srv/www/<%= @hostname %>/htdocs;
        index index.php index.html index.htm;

        server_name <%= @hostname %>.your-domain.ru;

        location / {
                try_files $uri $uri/ /index.php?$args;
        }

        location ~ \.php$ {
                include fastcgi_params;
                fastcgi_split_path_info ^(.+\.php)(/.+)$;
                fastcgi_pass unix:/var/run/php5-fpm/<%= @hostname %>.sock;

                fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
                fastcgi_index index.php;
                try_files $uri =404;
        }

        location ~ /\.ht {
               deny all;
        }
}
{'fraction_non_alphanumeric': 0.1302417365564874, 'fraction_numerical': 0.016773556980759743, 'mean_word_length': 1.675461741424802, 'pattern_counts': {'":': 0, '<': 12, '<?xml version=': 0, '>': 12, 'https://': 0, 'lorem ipsum': 0, 'www.': 6, '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': '7054645', 'n_tokens_mistral': 719, 'n_tokens_neox': 641, 'n_words': 136}