{% block body %} ServerName {{ DOMAIN }} {% if DOMAIN_ALIASES is not empty %} ServerAlias {{ DOMAIN_ALIASES }} {% endif %} DocumentRoot {{ DOCUMENT_ROOT }} SuexecUserGroup {{ SYSTEM_USER_USERNAME }} {{ SYSTEM_USER_GROUP }} ErrorLog {{ WEB_LOG_PATH }}/{{ DOMAIN }}.log CustomLog {{ WEB_LOG_PATH }}/{{ DOMAIN }}.log combined {% block force_https %}{% if WEB_HTTPS_FORCE == "yes" %} Redirect permanent / https://{{ DOMAIN }}/ {% endif %}{% endblock %} Options -Indexes +FollowSymLinks +MultiViews AllowOverride All Order allow,deny allow from all Options +ExecCGI {% if PHP_ENABLED == "yes" %} SetHandler "proxy:fcgi://127.0.0.1:{{ PHP_FPM_PORT }}/" {% endif %} {% block extra %}{% endblock extra %} {% endblock body %}