[GNOUSWEB] Set web git repo safe for system

This commit is contained in:
thopic 2023-08-09 12:21:56 +02:00
parent f7b138bf5f
commit 3b3db4396c
Signed by: thopic
GPG Key ID: 292DBBF0B54AD4C5

View File

@ -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 \