BZCoding/bz-contact-php

View on GitHub
ansible/etc/apache2/vhost.conf

Summary

Maintainability
Test Coverage
<VirtualHost *:80>
    # ServerName bzcontact.dev
    # ServerAlias localhost

    ServerAdmin webmaster@localhost
    DocumentRoot /app/app/public
    <Directory /app/app/public>
        AllowOverride All
        DirectoryIndex index.php index.html
        Require all granted
    </Directory>

    ErrorLog ${APACHE_LOG_DIR}/error.log
    CustomLog ${APACHE_LOG_DIR}/access.log combined

    # Set Env vars, if any
    php_admin_value variables_order EGPCS
    {% for item in app_env_vars %}
    SetEnv {{ item.name }} "{{ item.value }}"
    {% endfor %}

</VirtualHost>