diff --git a/nextcloud/Containerfile b/nextcloud/Containerfile index d35e3e5..668ef58 100644 --- a/nextcloud/Containerfile +++ b/nextcloud/Containerfile @@ -79,7 +79,7 @@ RUN mv postgresql/pg_hba.conf /etc/postgresql/${PSQLV:?}/main/ & \ ### # enable modules we need -RUN a2enmod rewrite headers env dir mime proxy_fcgi && \ +RUN a2enmod rewrite headers env dir mime proxy_fcgi http2 && \ a2enconf php${PHPV:?}-fpm # copy site config diff --git a/nextcloud/assets/apache/nextcloud.conf b/nextcloud/assets/apache/nextcloud.conf index b383cc6..184b51f 100644 --- a/nextcloud/assets/apache/nextcloud.conf +++ b/nextcloud/assets/apache/nextcloud.conf @@ -1,4 +1,5 @@ + Protocols h2 http/1.1 #ServerAdmin webmaster@localhost DocumentRoot /var/www/html/nextcloud/