From 250bb045f3dc8d8ee12d3925d52ac914a45b1fd4 Mon Sep 17 00:00:00 2001 From: Raphael Dannecker Date: Wed, 2 Apr 2025 14:01:34 +0200 Subject: [PATCH] Fix: Add newline in squid config --- .../lmn_localproxy/templates/squid-usermode-external.conf.j2 | 4 +++- roles/lmn_localproxy/templates/squid-usermode.conf.j2 | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/roles/lmn_localproxy/templates/squid-usermode-external.conf.j2 b/roles/lmn_localproxy/templates/squid-usermode-external.conf.j2 index 40ace20..175b480 100644 --- a/roles/lmn_localproxy/templates/squid-usermode-external.conf.j2 +++ b/roles/lmn_localproxy/templates/squid-usermode-external.conf.j2 @@ -7,6 +7,8 @@ access_log none cache_log /dev/null logfile_rotate 0 pid_filename none -{% if vm_support %}http_port 192.168.122.1:3128{% endif %} +{% if vm_support %} +http_port 192.168.122.1:3128 +{% endif %} http_port 127.0.0.1:3128 http_access allow all diff --git a/roles/lmn_localproxy/templates/squid-usermode.conf.j2 b/roles/lmn_localproxy/templates/squid-usermode.conf.j2 index 3ebe7c1..8ec4915 100644 --- a/roles/lmn_localproxy/templates/squid-usermode.conf.j2 +++ b/roles/lmn_localproxy/templates/squid-usermode.conf.j2 @@ -7,6 +7,8 @@ access_log none cache_log /dev/null logfile_rotate 0 pid_filename none -{% if vm_support %}http_port 192.168.122.1:3128{% endif %} +{% if vm_support %} +http_port 192.168.122.1:3128 +{% endif %} http_port 127.0.0.1:3128 http_access allow all