Skip to content

Commit

Permalink
https_port support added.
Browse files Browse the repository at this point in the history
  • Loading branch information
ukretschmer committed May 2, 2016
1 parent 158597b commit 82a928a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pillar.example
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 4 additions & 0 deletions squid/files/squid.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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', '') }}
Expand Down

0 comments on commit 82a928a

Please sign in to comment.