From a81de90cdc84adede7aa065774ddbb9419ac62ec Mon Sep 17 00:00:00 2001 From: Shiro Hara Date: Fri, 12 Jan 2024 22:19:39 +0900 Subject: [PATCH] FIx Dockerfile --- Dockerfile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index e430559..d19dcd4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -60,12 +60,12 @@ RUN a2dismod access_compat reqtimeout status mpm_prefork ;\ # Tune HTTP/2 RUN sed -i -e "s!! H2WindowSize 1048576\n H2StreamMaxMemSize 5120000000\n!g" /etc/apache2/mods-enabled/http2.conf -RUN echo " - RewriteEngine on - RewriteRule ^/\.well-known/carddav /remote.php/dav [R=301,L] - RewriteRule ^/\.well-known/caldav /remote.php/dav [R=301,L] - RewriteRule ^/\.well-known/webfinger /index.php/.well-known/webfinger [R=301,L] - RewriteRule ^/\.well-known/nodeinfo /index.php/.well-known/nodeinfo [R=301,L] +RUN echo "\n\ + RewriteEngine on\n\ + RewriteRule ^/\.well-known/carddav /remote.php/dav [R=301,L]\n\ + RewriteRule ^/\.well-known/caldav /remote.php/dav [R=301,L]\n\ + RewriteRule ^/\.well-known/webfinger /index.php/.well-known/webfinger [R=301,L]\n\ + RewriteRule ^/\.well-known/nodeinfo /index.php/.well-known/nodeinfo [R=301,L]\n\ " > /etc/apache2/mods-enabled/rewrite.conf # enable FastCGI