summaryrefslogtreecommitdiffstats
path: root/26
diff options
context:
space:
mode:
authorGitHub Workflow <workflow@github.com>2023-09-16 22:51:59 +0000
committerGitHub Workflow <workflow@github.com>2023-09-16 22:51:59 +0000
commit3fa92257f9be6485dca15b7a71fb27a188b01fd1 (patch)
tree9f110655938653f7d3d027a7d709383577101371 /26
parent90064ed260e5d87361be37cdc9b987628049145d (diff)
Runs update.sh
Diffstat (limited to '26')
-rw-r--r--26/apache/Dockerfile21
1 files changed, 14 insertions, 7 deletions
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; \