Browse Source

adapt todos

Fabian Peter Hammerle 5 years ago
parent
commit
4dc2ae50af
1 changed files with 8 additions and 3 deletions
  1. 8 3
      apache2.conf

+ 8 - 3
apache2.conf

@@ -31,9 +31,15 @@ Header set X-XSS-Protection "1; mode=block"
 LogFormat "%{%Y-%m-%dT%H:%M:%S%z}t %h \"%r\" %>s" neat
 CustomLog /dev/stdout neat
 
+# TODO enable sendfile
+# apt-get install --yes libapache2-mod-xsendfile
+# XSendFile on
+# XSendFilePath /library
+# https://koel.phanan.net/docs/
+# https://tn123.org/mod_xsendfile/
+
 <VirtualHost *:8080>
     # TODO ssl
-    # TODO sendfile ?
     DocumentRoot /koel
 </VirtualHost>
 
@@ -48,9 +54,8 @@ AccessFileName .htaccess
 </FilesMatch>
 
 <Directory /koel>
-    # TODO check
     Options -Indexes -Includes -FollowSymLinks +SymLinksIfOwnerMatch
-    # TODO check
+    # TODO restrict
     AllowOverride All
     Require all granted
 </Directory>