fix apache media block

This commit is contained in:
Renon 2018-07-23 11:13:44 +02:00
parent 3862034dbc
commit cb41c9fdf4
2 changed files with 20 additions and 1 deletions

View File

@ -0,0 +1,19 @@
Fix Apache2 permission issue preventing `/media` folder from being served correctly (#389)
Fix Apache2 configuration file for media block [Manual action required]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The permission scope on the current Apache2 configuration file is too narrow, preventing thumbnails from being served.
On Apache2 setups, you have to replace the following line::
<Directory /srv/funkwhale/data/media/albums>
with::
<Directory /srv/funkwhale/data/media>
You can now restart your server::
sudo systemctl restart apache2

View File

@ -111,7 +111,7 @@ Define MUSIC_DIRECTORY_PATH /srv/funkwhale/data/music
Require all granted
</Directory>
<Directory /srv/funkwhale/data/media/albums>
<Directory /srv/funkwhale/data/media>
Options FollowSymLinks
AllowOverride None
Require all granted