<commit_before><?php

namespace Deployer;

set('vhost_template', '<VirtualHost *:80>

    ServerAdmin webmaster@localhost

    DocumentRoot "{{deploy_path}}/current"

    <Directory "{{deploy_path}}/current">
        Options -Indexes FollowSymLinks MultiViews
        AllowOverride all
        Order allow,deny
        Allow from all
    </Directory>

{{vhost_server_names}}
    
</VirtualHost>
');

set('vhost_ssl_template', '<VirtualHost *:443>
    
    ServerAdmin webmaster@localhost

    DocumentRoot "{{deploy_path}}/current"

    <Directory "{{deploy_path}}/current">
        Options -Indexes FollowSymLinks MultiViews
        AllowOverride all
        Order allow,deny
        Allow from all
    </Directory>
    
{{vhost_server_names}}
    
    SSLEngine on
    SSLCertificateFile "~/.ssh/ssl/domain.pem"
    SSLCertificateKeyFile "~/.ssh/ssl/domain.key"
    SSLCACertificateFile "~/.ssh/ssl/domain.intermediate"
    
</VirtualHost>');

set('vhost_path', getenv('VHOSTS_PATH'));<commit_msg>[FEATURE] Add new task for generating vhosts<commit_after><?php

namespace Deployer;

set('vhost_template', '<VirtualHost *:80>

    ServerAdmin webmaster@localhost

    DocumentRoot "{{deploy_path}}/current"

    <Directory "{{deploy_path}}/current">
        Options -Indexes 
        Options FollowSymLinks MultiViews
        AllowOverride all
        Order allow,deny
        Allow from all
    </Directory>

{{vhost_server_names}}
    
</VirtualHost>
');

set('vhost_ssl_template', '<VirtualHost *:443>
    
    ServerAdmin webmaster@localhost

    DocumentRoot "{{deploy_path}}/current"

    <Directory "{{deploy_path}}/current">
        Options -Indexes 
        Options FollowSymLinks MultiViews
        AllowOverride all
        Order allow,deny
        Allow from all
    </Directory>
    
{{vhost_server_names}}
    
    SSLEngine on
    SSLCertificateFile "{{vhost_ssl_path}}/domain.pem"
    SSLCertificateKeyFile "{{vhost_ssl_path}}/domain.key"
    SSLCACertificateFile "{{vhost_ssl_path}}/domain.intermediate"
    
</VirtualHost>');

set('vhost_path', getenv('VHOSTS_PATH'));
set('vhost_ssl_path', getenv('VHOSTS_SSLCERT_PATH'));
{'fraction_non_alphanumeric': 0.11957029425502101, 'fraction_numerical': 0.004670714619336758, 'mean_word_length': 3.4439834024896268, 'pattern_counts': {'":': 0, '<': 21, '<?xml version=': 0, '>': 19, 'https://': 0, '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': '4307538', 'n_tokens_mistral': 688, 'n_tokens_neox': 653, 'n_words': 127}