From 574b36b2230445eb6dc58d725449bdb071d24585 Mon Sep 17 00:00:00 2001 From: Manuel Strehl Date: Wed, 28 Feb 2024 21:47:02 +0100 Subject: [PATCH] Docker: remove default Apache site --- dev/Dockerfile | 3 ++- ops/apache2/local-confs/codepoints.net.conf | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/dev/Dockerfile b/dev/Dockerfile index dc0d3469..b6c5171e 100644 --- a/dev/Dockerfile +++ b/dev/Dockerfile @@ -19,7 +19,8 @@ RUN apt-get update && \ a2enmod proxy && \ a2enmod proxy_http && \ a2enmod proxy_wstunnel && \ - a2ensite httpd + a2ensite httpd && \ + a2dissite 000-default # do not write access log to stdout RUN rm /var/log/apache2/access.log /var/log/apache2/other_vhosts_access.log diff --git a/ops/apache2/local-confs/codepoints.net.conf b/ops/apache2/local-confs/codepoints.net.conf index eda03d2f..018d78ad 100644 --- a/ops/apache2/local-confs/codepoints.net.conf +++ b/ops/apache2/local-confs/codepoints.net.conf @@ -9,7 +9,7 @@ DocumentRoot "/var/www/codepoints.net" ServerName codepoints.net -ServerAlias www.codepoints.net codepoints-live +ServerAlias www.codepoints.net codepoints-live codepoints.next AllowOverride None Require all granted