add apache-ultimate-bad-bot-blocker

This commit is contained in:
Jonas Leder 2021-04-13 11:46:08 +02:00
parent 04023d2f71
commit 3f6d69c760

View file

@ -30,6 +30,12 @@ COPY --from=build /build/public /var/www/html
# |--------------------------------------------------------------------------
RUN a2enmod headers rewrite
# |--------------------------------------------------------------------------
# | install bad bot blocklist
# |--------------------------------------------------------------------------
ADD ["https://raw.githubusercontent.com/mitchellkrogza/apache-ultimate-bad-bot-blocker/master/install-apacheblocker.sh", "/tmp/"]
RUN apt update && apt install -y wget && chmod +x /tmp/install-apacheblocker.sh && /tmp/install-apacheblocker.sh
# |--------------------------------------------------------------------------
# | expose http port
# |--------------------------------------------------------------------------