Browse Source

fix visible_hostname

master 0.9.4
Paolo Asperti 1 year ago
parent
commit
f51101c505
  1. 2
      docker-stuff/start.sh

2
docker-stuff/start.sh

@ -3,6 +3,7 @@
SQUID_CACHE_DIR=${SQUID_CACHE_DIR:-/var/spool/squid}
SQUID_COREDUMP_DIR=${SQUID_COREDUMP_DIR:-/var/cache/squid}
SQUID_CACHE_SIZE_MB=${SQUID_CACHE_SIZE_MB:-10240}
SQUID_HOSTNAME=${SQUID_HOSTNAME:-angrysquid.local}
PIDFILE=/var/run/squid.pid
@ -20,6 +21,7 @@ fi
cat <<EOF >/etc/squid/conf.d/common.conf
cache_dir aufs ${SQUID_CACHE_DIR} ${SQUID_CACHE_SIZE_MB} 16 256
coredump_dir ${SQUID_COREDUMP_DIR}
visible_hostname ${SQUID_HOSTNAME}
EOF
if [ ! -d "${SQUID_CACHE_DIR}/00" ]; then

Loading…
Cancel
Save