1
1
mirror of https://github.com/dnscrypt/dnscrypt-server-docker synced 2024-11-22 23:51:59 +01:00

Prepare for filtering

This commit is contained in:
Frank Denis 2019-09-25 15:57:54 +02:00
parent 090abe5b79
commit e970987013
2 changed files with 10 additions and 1 deletions

@ -37,7 +37,7 @@ ENV RUSTFLAGS "-C link-arg=-s"
RUN apt-get update && apt-get install -qy --no-install-recommends $BUILD_DEPS && \ RUN apt-get update && apt-get install -qy --no-install-recommends $BUILD_DEPS && \
curl -sSf https://sh.rustup.rs | bash -s -- -y --default-toolchain nightly && \ curl -sSf https://sh.rustup.rs | bash -s -- -y --default-toolchain nightly && \
export PATH="$HOME/.cargo/bin:$PATH" && \ export PATH="$HOME/.cargo/bin:$PATH" && \
echo "Compiling encrypted-dns version 0.2.3" && \ echo "Compiling encrypted-dns version 0.2.4" && \
cargo install encrypted-dns && \ cargo install encrypted-dns && \
mkdir -p /opt/encrypted-dns/sbin && \ mkdir -p /opt/encrypted-dns/sbin && \
mkdir -p /opt/encrypted-dns/etc/keys && \ mkdir -p /opt/encrypted-dns/etc/keys && \

@ -152,3 +152,12 @@ key_cache_capacity = 10000
@TLS_PROXY_CONFIGURATION@ @TLS_PROXY_CONFIGURATION@
#######################################
# Server-side filtering #
#######################################
[filtering]
# domain_blacklist = "/etc/domain_blacklist.txt"