Skip to content

Commit

Permalink
Only listen to port 8080 in Apache
Browse files Browse the repository at this point in the history
  • Loading branch information
bennothommo committed Sep 30, 2024
1 parent 7918b17 commit b429fd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .devcontainer/local-features/apache-config/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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!"

0 comments on commit b429fd6

Please sign in to comment.