From b078bf5f931728553141ae5f791e2b45cd14ddba Mon Sep 17 00:00:00 2001 From: Martin Date: Tue, 7 Nov 2023 10:36:10 +0100 Subject: [PATCH] Revert "Revert "Added apache configuration for better compatibility"" --- apache/ports.conf | 16 ++++++++++++++++ apache/vhost-ssl.conf | 2 +- apache/vhost.conf | 2 +- docker-compose.simple-install.yml | 1 + 4 files changed, 19 insertions(+), 2 deletions(-) create mode 100644 apache/ports.conf diff --git a/apache/ports.conf b/apache/ports.conf new file mode 100644 index 0000000..5185d89 --- /dev/null +++ b/apache/ports.conf @@ -0,0 +1,16 @@ +# If you just change the port or add more ports here, you will likely also +# have to change the VirtualHost statement in +# /etc/apache2/sites-enabled/000-default.conf + +Listen 80 +Listen 8080 + + + Listen 443 + Listen 8443 + + + + Listen 443 + Listen 8443 + diff --git a/apache/vhost-ssl.conf b/apache/vhost-ssl.conf index fa62309..6c599a9 100644 --- a/apache/vhost-ssl.conf +++ b/apache/vhost-ssl.conf @@ -1,4 +1,4 @@ - + DocumentRoot "/var/www/eramba" AllowOverride all diff --git a/apache/vhost.conf b/apache/vhost.conf index 37e3dff..5d930c4 100644 --- a/apache/vhost.conf +++ b/apache/vhost.conf @@ -1,4 +1,4 @@ - + DocumentRoot "/var/www/eramba" AllowOverride all diff --git a/docker-compose.simple-install.yml b/docker-compose.simple-install.yml index c863135..06a5769 100644 --- a/docker-compose.simple-install.yml +++ b/docker-compose.simple-install.yml @@ -31,6 +31,7 @@ services: - ./apache/ssl/mycert.crt:/etc/ssl/certs/mycert.crt - ./apache/ssl/mycert.key:/etc/ssl/private/mycert.key - ./apache/security.conf:/etc/apache2/conf-available/security.conf + - ./apache/ports.conf:/etc/apache2/ports.conf - ./apache/vhost-ssl.conf:/etc/apache2/sites-available/000-default.conf - ./crontab/crontab:/etc/cron.d/eramba-crontab environment: