@@ -34,10 +34,22 @@ modules:
# mod_stun_disco: {} #--> see 50-stun-turn.yml
# mod_http_api: {}
mod_http_fileserver:
- default_content_type: "text/html"
+
docroot: "/var/www/"
directory_indices:
- "index.html"
+ default_content_type: "text/html"
+ content_types:
+ .css: text/css
+ .gif: image/gif
+ .html: text/html
+ .jpeg: image/jpeg
+ .jpg: image/jpeg
+ .png: image/png
+ .svg: image/svg+xml
+ .txt: text/plain
+ .xml: application/xml
## docroot: "/var/www"
## accesslog: "/home/ejabberd/logs/access.log"
#mod_http_api: {}