<commit_before>server {
        listen   8080;

        location / {
                try_files $uri @cliche;
        }

        location @cliche {
                include uwsgi_params;
                uwsgi_pass unix:/tmp/cliche-uwsgi.sock;
        }
}<commit_msg>redirect http and www. to https://cliche.io<commit_after>server {
        listen    8080;
        server_name    www.cliche.io;

        location / {
                return 301 https://cliche.io$request_uri;
        }
}

server {
        listen    8080;
        server_name    cliche.io;

        location / {
                if ($http_x_forwarded_proto = "http") {
                        rewrite  ^/(.*)$  https://cliche.io/$1 permanent;
                }
                try_files $uri @cliche;
        }

        location @cliche {
                include uwsgi_params;
                uwsgi_pass unix:/tmp/cliche-uwsgi.sock;
        }
}
{'fraction_non_alphanumeric': 0.09723756906077348, 'fraction_numerical': 0.017679558011049725, 'mean_word_length': 1.2260442260442261, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 3, 'lorem ipsum': 0, 'www.': 2, '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': '7207578', 'n_tokens_mistral': 294, 'n_tokens_neox': 263, 'n_words': 48}