From f4940aa6d19ebc54a33677230c07085106f4fe17 Mon Sep 17 00:00:00 2001 From: HansMorb <6433480+hansmorb@users.noreply.github.com> Date: Thu, 21 Apr 2022 12:44:45 +0200 Subject: [PATCH] include mod_proxy when remote vhost is defined --- templates/vhost.conf.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/vhost.conf.j2 b/templates/vhost.conf.j2 index f224deb..342a6cd 100644 --- a/templates/vhost.conf.j2 +++ b/templates/vhost.conf.j2 @@ -1,6 +1,6 @@ {{ ansible_managed | comment }} -{% if item.backend_url is defined %} +{% if ( item.backend_url is defined ) or ( item.remote is defined ) %} LoadModule proxy_module {{ httpd_modules_path }}/mod_proxy.so