Commit 1c2f1458 authored by nimrod's avatar nimrod
Browse files

cgit: Remove the Apache status patch.

Not sure why I needed to begin with.
parent 1512cfee
Loading
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -6,7 +6,6 @@ RUN apt-get update && \
    DEBIAN_FRONTEND=noninteractive apt-get install -y \
        cgit \
        groff-base \
        patch \
        python3-docutils \
        python3-markdown \
        python3-pygments \
@@ -15,8 +14,5 @@ RUN apt-get update && \
    a2enconf cgit && \
    install -d -o www-data -g www-data -m 755 /var/cache/cgit && \
    rm -rf /tmp/* /var/tmp/* /var/lib/apt/lists/* /var/cache/apt/archives/*
COPY --chown=root:root patch.diff /root/
COPY --chown=root:root cgitrc /etc/
RUN patch --strip 0 --verbose --directory /etc/apache2 --input /root/patch.diff && \
    apache2 -t
USER www-data

cgit/patch.diff

deleted100644 → 0
+0 −11
Original line number Diff line number Diff line
--- mods-available/status.conf	2019-04-03 00:13:44.000000000 +0300
+++ mods-available/status.conf	2019-11-09 19:59:09.642896703 +0200
@@ -5,7 +5,7 @@
 
 	<Location /server-status>
 		SetHandler server-status
-		Require local
+		#Require local
 		#Require ip 192.0.2.0/24
 	</Location>