Fix #764: broken sample apache configuration
This commit is contained in:
parent
039885e6fc
commit
5c60550728
|
@ -0,0 +1 @@
|
||||||
|
Fixed broken sample apache configuration (#764)
|
|
@ -65,7 +65,9 @@ Define MUSIC_DIRECTORY_PATH /srv/funkwhale/data/music
|
||||||
</Proxy>
|
</Proxy>
|
||||||
|
|
||||||
# Activating WebSockets
|
# Activating WebSockets
|
||||||
ProxyPass "/api/v1/activity" ${funkwhale-api-ws}/api/v1/activity
|
<Location "/api/v1/activity">
|
||||||
|
ProxyPass ${funkwhale-api-ws}/api/v1/activity
|
||||||
|
</Location>
|
||||||
|
|
||||||
<Location "/">
|
<Location "/">
|
||||||
# similar to nginx 'client_max_body_size 100M;'
|
# similar to nginx 'client_max_body_size 100M;'
|
||||||
|
@ -90,13 +92,19 @@ Define MUSIC_DIRECTORY_PATH /srv/funkwhale/data/music
|
||||||
ProxyPassReverse ${funkwhale-api}/.well-known/
|
ProxyPassReverse ${funkwhale-api}/.well-known/
|
||||||
</Location>
|
</Location>
|
||||||
|
|
||||||
ProxyPass "/front" "!"
|
<Location "/front">
|
||||||
|
ProxyPass "!"
|
||||||
|
</Location>
|
||||||
Alias /front /srv/funkwhale/front/dist
|
Alias /front /srv/funkwhale/front/dist
|
||||||
|
|
||||||
ProxyPass "/media" "!"
|
<Location "/media">
|
||||||
|
ProxyPass "!"
|
||||||
|
</Location>
|
||||||
Alias /media /srv/funkwhale/data/media
|
Alias /media /srv/funkwhale/data/media
|
||||||
|
|
||||||
ProxyPass "/staticfiles" "!"
|
<Location "/staticfiles">
|
||||||
|
ProxyPass "!"
|
||||||
|
</Location>
|
||||||
Alias /staticfiles /srv/funkwhale/data/static
|
Alias /staticfiles /srv/funkwhale/data/static
|
||||||
|
|
||||||
# Setting appropriate access levels to serve frontend
|
# Setting appropriate access levels to serve frontend
|
||||||
|
|
Loading…
Reference in New Issue