Add Variable to Ignore User-Agent in Logs (#80)

* Set trivy scan to exit 0, until we cleanup those false positives
* Add variable to ignore logs for certain User-Agents. This allows us to have a clearer log when using regular health checks
This commit is contained in:
Markus Opolka
2021-07-25 16:55:56 +02:00
committed by GitHub
parent bd836fd91f
commit e638fc36a0
6 changed files with 10 additions and 0 deletions

View File

@@ -79,6 +79,7 @@ EXPOSE $LISTEN_PORT
WORKDIR /var/www/html
COPY entrypoint.sh entrypoint.sh
COPY vhosts-access-log.conf /etc/apache2/conf-enabled/other-vhosts-access-log.conf
USER $USER
ENTRYPOINT ["/var/www/html/entrypoint.sh"]
CMD ["apache2-foreground"]