fix apache media block
This commit is contained in:
parent
3862034dbc
commit
cb41c9fdf4
|
@ -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
|
|
@ -111,7 +111,7 @@ Define MUSIC_DIRECTORY_PATH /srv/funkwhale/data/music
|
||||||
Require all granted
|
Require all granted
|
||||||
</Directory>
|
</Directory>
|
||||||
|
|
||||||
<Directory /srv/funkwhale/data/media/albums>
|
<Directory /srv/funkwhale/data/media>
|
||||||
Options FollowSymLinks
|
Options FollowSymLinks
|
||||||
AllowOverride None
|
AllowOverride None
|
||||||
Require all granted
|
Require all granted
|
||||||
|
|
Loading…
Reference in New Issue