We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b06afd commit 39846a9Copy full SHA for 39846a9
Dockerfile
@@ -19,7 +19,9 @@ RUN apt-get update && \
19
ENV APACHE_DOCUMENT_ROOT /app
20
21
RUN sed -ri -e 's!/var/www/html!${APACHE_DOCUMENT_ROOT}!g' /etc/apache2/sites-available/*.conf && \
22
- sed -ri -e 's!/var/www/!${APACHE_DOCUMENT_ROOT}!g' /etc/apache2/apache2.conf /etc/apache2/conf-available/*.conf
+ sed -ri -e 's!/var/www/!${APACHE_DOCUMENT_ROOT}!g' /etc/apache2/apache2.conf /etc/apache2/conf-available/*.conf && \
23
+ echo "ServerTokens Prod" > /etc/apache2/conf-enabled/z-server-tokens.conf && \
24
+ mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini"
25
26
RUN a2enmod rewrite
27
0 commit comments