[GNOUSWEB] Set web git repo safe for system
This commit is contained in:
parent
f7b138bf5f
commit
3b3db4396c
@ -4,6 +4,8 @@ RUN apt-get update && apt-get install -y \
|
|||||||
git \
|
git \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
|
RUN printf "[safe]\n\tdirectory = /var/www\n" > /etc/gitconfig
|
||||||
|
|
||||||
RUN a2enmod remoteip rewrite \
|
RUN a2enmod remoteip rewrite \
|
||||||
&& echo "RemoteIPHeader X-Forwarded-For" > /etc/apache2/conf-available/remoteip.conf \
|
&& echo "RemoteIPHeader X-Forwarded-For" > /etc/apache2/conf-available/remoteip.conf \
|
||||||
&& a2enconf remoteip \
|
&& a2enconf remoteip \
|
||||||
|
Loading…
Reference in New Issue
Block a user