Browse Source

enable http2 in apache

nextcloud/optimization
Mar Alegre 3 years ago
parent
commit
039fe69a37
  1. 2
      nextcloud/Containerfile
  2. 1
      nextcloud/assets/apache/nextcloud.conf

2
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

1
nextcloud/assets/apache/nextcloud.conf

@ -1,4 +1,5 @@
<VirtualHost *:80>
Protocols h2 http/1.1
#ServerAdmin webmaster@localhost
DocumentRoot /var/www/html/nextcloud/

Loading…
Cancel
Save