From c163358f384d60c7b576640e3889fd25e310f433 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antoni=20Nu=C3=B1ez=20Romeu?= Date: Mon, 13 Apr 2026 18:41:11 +0200 Subject: [PATCH] Fix virtual host configuration for hacecalor.es: updated docker-compose.yml volume mount and corrected vhost log file names --- apache/vhosts/hacecalor.conf | 12 ++++++++++++ docker-compose.yml | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 apache/vhosts/hacecalor.conf diff --git a/apache/vhosts/hacecalor.conf b/apache/vhosts/hacecalor.conf new file mode 100644 index 0000000..ffa1e18 --- /dev/null +++ b/apache/vhosts/hacecalor.conf @@ -0,0 +1,12 @@ + + ServerName hacecalor.es + DocumentRoot /var/www/html/hacecalor.es/public_html + + + AllowOverride All + Require all granted + + + ErrorLog ${APACHE_LOG_DIR}/hacecalor_error.log + CustomLog ${APACHE_LOG_DIR}/hacecalor_access.log combined + \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml index b6c9b43..71d0d4e 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -8,7 +8,7 @@ services: volumes: - ./html:/var/www/html - ./apache/vhosts:/etc/apache2/sites-enabled - - /home/hacecalor.es/public_html:/var/www/html/hacecalor.es/public_html + - /home/f80ans0/hacecalor_test/public_html:/var/www/html/hacecalor.es/public_html depends_on: - php networks: