Skip to content
Snippets Groups Projects
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
Branches
No related tags found
No related merge requests found
Pipeline #3438 passed
...@@ -6,7 +6,6 @@ RUN apt-get update && \ ...@@ -6,7 +6,6 @@ RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install -y \ DEBIAN_FRONTEND=noninteractive apt-get install -y \
cgit \ cgit \
groff-base \ groff-base \
patch \
python3-docutils \ python3-docutils \
python3-markdown \ python3-markdown \
python3-pygments \ python3-pygments \
...@@ -15,8 +14,5 @@ RUN apt-get update && \ ...@@ -15,8 +14,5 @@ RUN apt-get update && \
a2enconf cgit && \ a2enconf cgit && \
install -d -o www-data -g www-data -m 755 /var/cache/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/* 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/ COPY --chown=root:root cgitrc /etc/
RUN patch --strip 0 --verbose --directory /etc/apache2 --input /root/patch.diff && \
apache2 -t
USER www-data USER www-data
--- 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>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment