|
@@ -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
|
|
LogFormat "%{%Y-%m-%dT%H:%M:%S%z}t %h \"%r\" %>s" neat
|
|
CustomLog /dev/stdout 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>
|
|
<VirtualHost *:8080>
|
|
# TODO ssl
|
|
# TODO ssl
|
|
- # TODO sendfile ?
|
|
|
|
DocumentRoot /koel
|
|
DocumentRoot /koel
|
|
</VirtualHost>
|
|
</VirtualHost>
|
|
|
|
|
|
@@ -48,9 +54,8 @@ AccessFileName .htaccess
|
|
</FilesMatch>
|
|
</FilesMatch>
|
|
|
|
|
|
<Directory /koel>
|
|
<Directory /koel>
|
|
- # TODO check
|
|
|
|
Options -Indexes -Includes -FollowSymLinks +SymLinksIfOwnerMatch
|
|
Options -Indexes -Includes -FollowSymLinks +SymLinksIfOwnerMatch
|
|
- # TODO check
|
|
+ # TODO restrict
|
|
AllowOverride All
|
|
AllowOverride All
|
|
Require all granted
|
|
Require all granted
|
|
</Directory>
|
|
</Directory>
|