Skip to content

Commit

Permalink
include mod_proxy when remote vhost is defined
Browse files Browse the repository at this point in the history
  • Loading branch information
hansmorb committed Apr 21, 2022
1 parent a1e219d commit f4940aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/vhost.conf.j2
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{ ansible_managed | comment }}

{% if item.backend_url is defined %}
{% if ( item.backend_url is defined ) or ( item.remote is defined ) %}
<IfModule !proxy_module>
LoadModule proxy_module {{ httpd_modules_path }}/mod_proxy.so
</IfModule>
Expand Down

0 comments on commit f4940aa

Please sign in to comment.