ServerToken and ServerSignature settings

This commit is contained in:
root 2020-10-02 22:14:50 +02:00
parent cd3783d2b9
commit 95612607da
2 changed files with 6 additions and 0 deletions

View File

@ -8,6 +8,10 @@ RUN apt-get update && apt-get install -y libxml2-utils
# Apache Modules
RUN a2enmod rewrite dav dav_fs dav_lock headers
# Apache Config
COPY conf/zz_prod.conf /etc/apache2/conf-available
RUN a2enconf zz_prod
# PHP Modules
## opcache
RUN docker-php-ext-configure opcache && docker-php-ext-install -j$(nproc) opcache

2
conf/zz_prod.conf Normal file
View File

@ -0,0 +1,2 @@
ServerTokens Prod
ServerSignature Off