Browse Source

moved www to ~

dominik 3 years ago
parent
commit
058de6802e
2 changed files with 3 additions and 3 deletions
  1. 2 2
      data/conf.d/60-modules.yml
  2. 1 1
      docker-compose.yml

+ 2 - 2
data/conf.d/60-modules.yml

@@ -34,8 +34,8 @@ modules:
 #  mod_stun_disco: {} #--> see 50-stun-turn.yml
 #  mod_http_api: {}
   mod_http_fileserver:
-
-    docroot: "/var/www/"
+    default_content_type: "text/html"
+    docroot: "/home/ejabberd/www/"
     directory_indices:
       - "index.html"
     default_content_type: "text/html"      

+ 1 - 1
docker-compose.yml

@@ -37,7 +37,7 @@ services:
       - ./data/conf.d/:/home/ejabberd/conf/conf.d/:ro
       - ./data/database/:/home/ejabberd/database/
       - ./data/upload/:/home/ejabberd/upload/
-      - ./data/www:/var/www/
+      - ./data/www:/home/ejabberd/www/
       - /opt/docker/reverse-proxy/data/certs/${HOSTNAME}:/etc/ssl/ejabberd:ro
 
     environment: