Commit d9b176cf authored by Johannes Zellner's avatar Johannes Zellner

Make apache happy with the servername

parent f5050b28
......@@ -11,7 +11,8 @@ RUN curl -L "https://github.com/LimeSurvey/LimeSurvey/archive/3.6.3+180416.tar.g
RUN rm /etc/apache2/sites-enabled/*
RUN sed -e 's,^ErrorLog.*,ErrorLog "|/bin/cat",' -i /etc/apache2/apache2.conf
COPY apache/mpm_prefork.conf /etc/apache2/mods-available/mpm_prefork.conf
RUN a2disconf other-vhosts-access-log && a2enmod rewrite
RUN ln -s /run/servername.conf /etc/apache2/conf-available/servername.conf && touch /run/servername.conf
RUN a2disconf other-vhosts-access-log && a2enmod rewrite && a2enconf servername
COPY apache/limesurvey.conf /etc/apache2/sites-enabled/limesurvey.conf
RUN crudini --set /etc/php/7.0/apache2/php.ini PHP upload_max_filesize 5G && \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment