From f4824d8699479252e53443a86dd67a6773a69965 Mon Sep 17 00:00:00 2001 From: kjeld Schouten-Lebbing Date: Mon, 6 Sep 2021 15:22:35 +0200 Subject: [PATCH] patch sogo container to allow port 80 --- containers/apps/sogo/Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/containers/apps/sogo/Dockerfile b/containers/apps/sogo/Dockerfile index 049ee842b18..660995c4ad7 100644 --- a/containers/apps/sogo/Dockerfile +++ b/containers/apps/sogo/Dockerfile @@ -88,6 +88,8 @@ RUN --mount=type=bind,from=builder,source=/buildtmp/vendor/output,target=/build a2enmod headers proxy proxy_http rewrite ssl && \ cp /etc/apache2/conf.d/SOGo.conf /etc/apache2/conf-available/ && \ sed -i -e 's/#RedirectMatch \^\/\$ https:\/\/mail.yourdomain.com\/SOGo/RedirectMatch \^\/\$ \/SOGo/' /etc/apache2/conf-available/SOGo.conf && \ + sed -i -e 's|"x-webobjects-server-url" "https://|"x-webobjects-server-url" "http://|' /etc/apache2/conf-available/SOGo.conf && \ + sed -i -e 's|"x-webobjects-server-port" "443"|"x-webobjects-server-port" "80"|' /etc/apache2/conf-available/SOGo.conf && \ a2enconf SOGo && \ usermod --home /srv/lib/sogo sogo && \ mkdir -p /var/run/memcached/ && \