1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-23 01:39:27 +02:00

fix privoxy

This commit is contained in:
kev 2023-08-28 16:59:48 +08:00
parent 015ee01710
commit 095e65c132

View File

@ -19,10 +19,10 @@ RUN set -xe \
&& chmod +x /usr/sbin/gosu \
&& apk del curl
RUN sed -i -e '/^listen-address/s/127.0.0.1/0.0.0.0/' \
-e '/^accept-intercepted-requests/s/0/1/' \
-e '/^enforce-blocks/s/0/1/' \
-e '/^#debug/s/#//' /etc/privoxy/config
RUN sed -e '/^listen-address/s/127.0.0.1/0.0.0.0/' \
-e '/^accept-intercepted-requests/s/0/1/' \
-e '/^enforce-blocks/s/0/1/' \
-e '/^#debug/s/#//' /etc/privoxy/config.new > /etc/privoxy/config
VOLUME /etc/privoxy