{% if ttrss_alias is defined %} Alias /{{ ttrss_alias }}/feed-icons {{ ttrss_root_dir }}/data/icons Alias /{{ ttrss_alias }} {{ ttrss_root_dir }}/web {% else %} # No alias defined, create a vhost to access it {% endif %} AllowOverride All Options FollowSymLinks {% if ttrss_src_ip is defined %} Require ip {{ ttrss_src_ip | join(' ') }} {% else %} Require all granted {% endif %} SetHandler "proxy:unix:/run/php-fpm/{{ ttrss_php_fpm_pool | default('ttrss_' + ttrss_id) }}.sock|fcgi://localhost" {% if httpd_src_ip is defined and httpd_src_ip | length > 0 and '0.0.0.0/0' not in httpd_src_ip %} RewriteEngine On RewriteCond %{HTTP:Auth-User} ^(\w+)$ RewriteRule .* - [E=REMOTE_USER:%1] {% endif %} Require all denied AllowOverride None Options None Require all granted Require all denied Require all denied Require all denied