{% if pma_alias is defined %}
Alias /{{ pma_alias }} {{ pma_root_dir }}/web
{% else %}
# No alias defined, create a vhost to access it
{% endif %}
ProxyTimeout 1800
AllowOverride All
Options FollowSymLinks
{% if pma_allowed_ip is defined %}
Require ip {{ pma_allowed_ip | join(' ') }}
{% else %}
Require all granted
{% endif %}
SetHandler "proxy:unix:/run/php-fpm/{{ pma_php_fpm_pool | default('pma_' + pma_id | string) }}.sock|fcgi://localhost"
Require all denied
Require all denied
Require all denied
Require all denied
Require all denied
Require all denied
Require all denied
Require all denied