diff --git a/apaches/Dockerfile b/apaches/Dockerfile index 55a4461..87c35f1 100644 --- a/apaches/Dockerfile +++ b/apaches/Dockerfile @@ -4,6 +4,8 @@ RUN apt-get update && apt-get install -y \ git \ && rm -rf /var/lib/apt/lists/* +RUN printf "[safe]\n\tdirectory = /var/www\n" > /etc/gitconfig + RUN a2enmod remoteip rewrite \ && echo "RemoteIPHeader X-Forwarded-For" > /etc/apache2/conf-available/remoteip.conf \ && a2enconf remoteip \