From 2dd90a165edba2a517442f612ea01f6e5ad88e2d Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Tue, 7 Oct 2025 17:04:23 +0200 Subject: [PATCH] wip #7741 --- config/httpd/apache2.conf | 1 + docker-compose.yml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/config/httpd/apache2.conf b/config/httpd/apache2.conf index 77912b8..eefb78f 100644 --- a/config/httpd/apache2.conf +++ b/config/httpd/apache2.conf @@ -19,6 +19,7 @@ LoadModule headers_module modules/mod_headers.so Header set Access-Control-Allow-Origin "*" + DocumentRoot /usr/local/apache2/htdocs Header set Access-Control-Allow-Origin "*" diff --git a/docker-compose.yml b/docker-compose.yml index e58ea84..e77306b 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -9,7 +9,7 @@ services: - './ssh/id_rsa.pub:/root/.ssh/id_rsa.pub:ro' - './ssh/known_hosts:/root/.ssh/known_hosts' - '${WWW}:/usr/local/apache2/htdocs/' - - './config/httpd/apache2.conf:/usr/local/apache2/conf/apache2.conf' + - './config/httpd/apache2.conf:/usr/local/apache2/conf/httpd.conf' - './bin/startup:/usr/local/bin/startup' - './bin/sync:/usr/local/bin/sync' - './config/crontab:/etc/crontab' -- 2.39.5