openrat-cms

# OpenRat Content Management System
git clone http://git.code.weiherhei.de/openrat-cms.git
Log | Files | Refs

commit 1824ee050d4fa06136553bd3634ae80f94bc36b2
parent d0e89c9c0382a598b417c349ce4fbe11445ee4c7
Author: Jan Dankert <develop@jandankert.de>
Date:   Tue,  1 Oct 2019 22:25:24 +0200

New: Enable HTTP/2 with h2c.

Diffstat:
Dockerfile | 6++++--
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/Dockerfile b/Dockerfile @@ -20,14 +20,16 @@ RUN apk --update --no-cache add \ apache2 apache2-http2 \ php7 php7-apache2 php7-session php7-pdo php7-pdo_mysql php7-pdo_pgsql php7-json php7-ftp php7-iconv php7-openssl \ git curl && \ - sed -i '/LoadModule log_module/s/^/#/g' /etc/apache2/httpd.conf && \ + sed -i '/LoadModule log_module/s/^/#/g' /etc/apache2/httpd.conf && \ + sed -i '/LoadModule http2_module/s/^#//g' /etc/apache2/httpd.conf && \ sed -i 's/^Listen 80/Listen 8080/g' /etc/apache2/httpd.conf && \ chown apache /var/log/apache2 && \ chown apache /run/apache2 && \ rm -r $DOCROOT/* && \ mkdir -p /var/www/preview && chown apache /var/www/preview && \ echo "Alias /preview /var/www/preview" >> /etc/apache2/httpd.conf && \ - echo "Protocols h2 h2c http/1.1" >> /etc/apache2/httpd.conf + echo "Protocols h2 h2c http/1.1" >> /etc/apache2/httpd.conf && \ + echo "H2ModernTLSOnly off" >> /etc/apache2/httpd.conf # Copy the application to document root COPY . $DOCROOT