Skip to content

Commit

Permalink
squid 5.9 -> 6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
syakesaba committed Aug 6, 2023
1 parent b396241 commit 13a70d9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ RUN apt-get update && \
apt-get clean

# squid 5.9
RUN wget http://www.squid-cache.org/Versions/v5/squid-5.9.tar.gz && \
tar xzvf squid-5.9.tar.gz && \
cd squid-5.9 && \
RUN wget http://www.squid-cache.org/Versions/v6/squid-6.1.tar.gz && \
tar xzvf squid-6.1.tar.gz && \
cd squid-6.1 && \
./configure --prefix=$SQUID_DIR --with-openssl --enable-ssl-crtd --with-large-files && \
make -j4 && \
make install
Expand Down
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ echo "icap_service_failure_limit -1" >> $SQUID_DIR/etc/squid.conf
echo "ssl_bump bump all" >> $SQUID_DIR/etc/squid.conf
echo "sslproxy_cert_error allow all" >> $SQUID_DIR/etc/squid.conf
sed "/^http_port 3128$/d" -i $SQUID_DIR/etc/squid.conf
sed "s/^http_access allow localnet$/http_access allow all/" -i $SQUID_DIR/etc/squid.conf
sed "s/^http_access allow localhost$/http_access allow all/" -i $SQUID_DIR/etc/squid.conf
echo "http_port 3128 ssl-bump generate-host-certificates=on dynamic_cert_mem_cache_size=4MB cert=$SQUID_DIR/myCA.crt key=$SQUID_DIR/myCA.pem" >> $SQUID_DIR/etc/squid.conf
echo "sslcrtd_program $SQUID_DIR/libexec/security_file_certgen -s $SQUID_DIR/var/lib/ssl_db -M 4MB" >> $SQUID_DIR/etc/squid.conf
echo "icap_enable on" >> $SQUID_DIR/etc/squid.conf
Expand Down

0 comments on commit 13a70d9

Please sign in to comment.