]> _ Git - fluidbook-hosting-loadbalancer.git/commitdiff
wip #6269
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Thu, 14 Sep 2023 17:49:24 +0000 (19:49 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Thu, 14 Sep 2023 17:49:24 +0000 (19:49 +0200)
config/apache2.conf [deleted file]
config/httpd/apache2.conf [new file with mode: 0644]
docker-compose.yml

diff --git a/config/apache2.conf b/config/apache2.conf
deleted file mode 100644 (file)
index 0e18e7d..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-User ${APACHE_RUN_USER}
-Group ${APACHE_RUN_GROUP}
-ErrorLog ${APACHE_LOG_DIR}/error.log
-
-HostnameLookups Off
-
-# Include module configuration:
-IncludeOptional mods-enabled/*.load
-IncludeOptional mods-enabled/*.conf
-
-# Include list of ports to listen on
-Include ports.conf
-
-<Directory />
-       Options FollowSymLinks
-       AllowOverride None
-       Require all denied
-</Directory>
-
-<Directory /var/www/html>
-       Options Indexes FollowSymLinks
-       AllowOverride None
-       Require all granted
-</Directory>
-
-<VirtualHost *:80>
-       DocumentRoot /var/www/html
-       Header set Access-Control-Allow-Origin "*"
-</VirtualHost>
diff --git a/config/httpd/apache2.conf b/config/httpd/apache2.conf
new file mode 100644 (file)
index 0000000..0e18e7d
--- /dev/null
@@ -0,0 +1,29 @@
+User ${APACHE_RUN_USER}
+Group ${APACHE_RUN_GROUP}
+ErrorLog ${APACHE_LOG_DIR}/error.log
+
+HostnameLookups Off
+
+# Include module configuration:
+IncludeOptional mods-enabled/*.load
+IncludeOptional mods-enabled/*.conf
+
+# Include list of ports to listen on
+Include ports.conf
+
+<Directory />
+       Options FollowSymLinks
+       AllowOverride None
+       Require all denied
+</Directory>
+
+<Directory /var/www/html>
+       Options Indexes FollowSymLinks
+       AllowOverride None
+       Require all granted
+</Directory>
+
+<VirtualHost *:80>
+       DocumentRoot /var/www/html
+       Header set Access-Control-Allow-Origin "*"
+</VirtualHost>
index 9c35fdb031476ba0f0924589b95cb1966fb3f0c2..8be884175ee216daea1b22ee9c8f9ec1bb20f7d9 100644 (file)
@@ -9,7 +9,8 @@ services:
       - './ssh/id_rsa.pub:/root/.ssh/id_rsa.pub:ro'
       - './ssh/known_hosts:/root/.ssh/known_hosts'
       - './www/:/var/www/html/'
-      - './config/apache2.conf:/etc/apache2/apache2.conf'
+      - './config/httpd/apache2.conf:/etc/apache2/apache2.conf'
+      - './config/httpd/mods-enabled/:/etc/apache2/mods-enabled/'
       - './bin/sync:/usr/local/bin/sync'
     restart: unless-stopped
     build: .