From b429fd63aa05a634cf339d05dc9ef574e3a11cd4 Mon Sep 17 00:00:00 2001 From: Ben Thomson Date: Mon, 30 Sep 2024 05:41:19 +0000 Subject: [PATCH] Only listen to port 8080 in Apache --- .devcontainer/local-features/apache-config/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.devcontainer/local-features/apache-config/install.sh b/.devcontainer/local-features/apache-config/install.sh index e40b0afbb..a0273836a 100644 --- a/.devcontainer/local-features/apache-config/install.sh +++ b/.devcontainer/local-features/apache-config/install.sh @@ -18,7 +18,7 @@ export DEBIAN_FRONTEND=noninteractive apt-get update && apt-get -y install --no-install-recommends lynx usermod -aG www-data ${USERNAME} -sed -i -e "s/Listen 80/Listen 80\\nListen 8080/g" /etc/apache2/ports.conf +echo "Listen 8080" > /etc/apache2/ports.conf apt-get clean -y && rm -rf /var/lib/apt/lists/* echo "Done!"