diff --git a/pillar.example b/pillar.example index dcc402c..0ea2675 100644 --- a/pillar.example +++ b/pillar.example @@ -5,6 +5,10 @@ squid: - 3128 - 127.0.0.1:8080 + https_port: + - 443 + - 127.0.0.1:443 + cache_mgr_user: username cache_mgr_password: password diff --git a/squid/files/squid.conf b/squid/files/squid.conf index ff3ba1b..d2be24c 100644 --- a/squid/files/squid.conf +++ b/squid/files/squid.conf @@ -111,6 +111,10 @@ http_access deny all http_port {{http_port}} {%- endfor %} +{%- for https_port in cfg_squid.get('https_port', []) %} +https_port {{https_port}} +{%- endfor %} + # Uncomment and adjust the following to add a disk cache directory. #cache_dir ufs /var/cache/squid 256 16 256 {{ cfg_squid.get('cache_dir', '') }}