SQUID_DIRECTIVES
This will append any contents of the environment variable to squid.conf. It is expected that you will use multi-line block quote for the contents.
cache_peer parentcache.foo.com parent 3128 0 no-query default
never_direct allow all
I've tried setting SQUID_DIRECTIVES with double quotes, single quotes, with \n, \n,... but it doesn't work with multiline, it always store the variable in the squid configuration file as a single line:
Readme says:
And I want to redirect squid to another squid (http://wiki.squid-cache.org/Features/CacheHierarchy) which translates to something like:
I've tried setting SQUID_DIRECTIVES with double quotes, single quotes, with \n, \n,... but it doesn't work with multiline, it always store the variable in the squid configuration file as a single line: