fix httpd conf path

This commit is contained in:
Jonas Leder 2021-08-16 19:17:46 +02:00
parent 5d5ab37b36
commit 0f8f82a766

View file

@ -31,8 +31,8 @@ COPY --from=composer /build/public /usr/local/apache2/htdocs/
# |--------------------------------------------------------------------------
# | enable apache modules
# |--------------------------------------------------------------------------
RUN sed -i '/LoadModule rewrite_module/s/^#//g' /usr/local/apache2/conf/httpd.conf && \
sed -i 's#AllowOverride [Nn]one#AllowOverride All#' /usr/local/apache2/conf/httpd.conf
RUN sed -i '/LoadModule rewrite_module/s/^#//g' /etc/apache2/httpd.conf && \
sed -i 's#AllowOverride [Nn]one#AllowOverride All#' /etc/apache2/httpd.conf
# |--------------------------------------------------------------------------
# | enable healthcheck