From 3fa92257f9be6485dca15b7a71fb27a188b01fd1 Mon Sep 17 00:00:00 2001 From: GitHub Workflow Date: Sat, 16 Sep 2023 22:51:59 +0000 Subject: Runs update.sh --- 25/apache/Dockerfile | 21 ++++++++++++++------- 26/apache/Dockerfile | 21 ++++++++++++++------- 27/apache/Dockerfile | 21 ++++++++++++++------- 3 files changed, 42 insertions(+), 21 deletions(-) diff --git a/25/apache/Dockerfile b/25/apache/Dockerfile index b5090bf1..3326a29e 100644 --- a/25/apache/Dockerfile +++ b/25/apache/Dockerfile @@ -121,15 +121,22 @@ RUN { \ VOLUME /var/www/html -RUN a2enmod headers rewrite remoteip ;\ - {\ - echo RemoteIPHeader X-Real-IP ;\ - echo RemoteIPInternalProxy 10.0.0.0/8 ;\ - echo RemoteIPInternalProxy 172.16.0.0/12 ;\ - echo RemoteIPInternalProxy 192.168.0.0/16 ;\ - } > /etc/apache2/conf-available/remoteip.conf;\ +RUN a2enmod headers rewrite remoteip ; \ + { \ + echo 'RemoteIPHeader X-Real-IP'; \ + echo 'RemoteIPInternalProxy 10.0.0.0/8'; \ + echo 'RemoteIPInternalProxy 172.16.0.0/12'; \ + echo 'RemoteIPInternalProxy 192.168.0.0/16'; \ + } > /etc/apache2/conf-available/remoteip.conf; \ a2enconf remoteip +# set apache config LimitRequestBody +ENV APACHE_BODY_LIMIT 1073741824 +RUN { \ + echo 'LimitRequestBody ${APACHE_BODY_LIMIT}'; \ + } > /etc/apache2/conf-available/apache-limits.conf; \ + a2enconf apache-limits + ENV NEXTCLOUD_VERSION 25.0.11 RUN set -ex; \ diff --git a/26/apache/Dockerfile b/26/apache/Dockerfile index 7f0292cb..2b6d5616 100644 --- a/26/apache/Dockerfile +++ b/26/apache/Dockerfile @@ -122,15 +122,22 @@ RUN { \ VOLUME /var/www/html -RUN a2enmod headers rewrite remoteip ;\ - {\ - echo RemoteIPHeader X-Real-IP ;\ - echo RemoteIPInternalProxy 10.0.0.0/8 ;\ - echo RemoteIPInternalProxy 172.16.0.0/12 ;\ - echo RemoteIPInternalProxy 192.168.0.0/16 ;\ - } > /etc/apache2/conf-available/remoteip.conf;\ +RUN a2enmod headers rewrite remoteip ; \ + { \ + echo 'RemoteIPHeader X-Real-IP'; \ + echo 'RemoteIPInternalProxy 10.0.0.0/8'; \ + echo 'RemoteIPInternalProxy 172.16.0.0/12'; \ + echo 'RemoteIPInternalProxy 192.168.0.0/16'; \ + } > /etc/apache2/conf-available/remoteip.conf; \ a2enconf remoteip +# set apache config LimitRequestBody +ENV APACHE_BODY_LIMIT 1073741824 +RUN { \ + echo 'LimitRequestBody ${APACHE_BODY_LIMIT}'; \ + } > /etc/apache2/conf-available/apache-limits.conf; \ + a2enconf apache-limits + ENV NEXTCLOUD_VERSION 26.0.6 RUN set -ex; \ diff --git a/27/apache/Dockerfile b/27/apache/Dockerfile index 7a24df37..d81d6cfa 100644 --- a/27/apache/Dockerfile +++ b/27/apache/Dockerfile @@ -122,15 +122,22 @@ RUN { \ VOLUME /var/www/html -RUN a2enmod headers rewrite remoteip ;\ - {\ - echo RemoteIPHeader X-Real-IP ;\ - echo RemoteIPInternalProxy 10.0.0.0/8 ;\ - echo RemoteIPInternalProxy 172.16.0.0/12 ;\ - echo RemoteIPInternalProxy 192.168.0.0/16 ;\ - } > /etc/apache2/conf-available/remoteip.conf;\ +RUN a2enmod headers rewrite remoteip ; \ + { \ + echo 'RemoteIPHeader X-Real-IP'; \ + echo 'RemoteIPInternalProxy 10.0.0.0/8'; \ + echo 'RemoteIPInternalProxy 172.16.0.0/12'; \ + echo 'RemoteIPInternalProxy 192.168.0.0/16'; \ + } > /etc/apache2/conf-available/remoteip.conf; \ a2enconf remoteip +# set apache config LimitRequestBody +ENV APACHE_BODY_LIMIT 1073741824 +RUN { \ + echo 'LimitRequestBody ${APACHE_BODY_LIMIT}'; \ + } > /etc/apache2/conf-available/apache-limits.conf; \ + a2enconf apache-limits + ENV NEXTCLOUD_VERSION 27.1.0 RUN set -ex; \ -- cgit v1.2.3