add apache-ultimate-bad-bot-blocker
This commit is contained in:
parent
04023d2f71
commit
3f6d69c760
|
@ -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
|
||||
# |--------------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in a new issue