Fix websockets reverse proxy
This commit is contained in:
parent
de9fc8061f
commit
c046787cb3
|
@ -64,11 +64,6 @@ Define MUSIC_DIRECTORY_PATH /srv/funkwhale/data/music
|
||||||
Allow from all
|
Allow from all
|
||||||
</Proxy>
|
</Proxy>
|
||||||
|
|
||||||
# Activating WebSockets
|
|
||||||
<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;'
|
||||||
LimitRequestBody 104857600
|
LimitRequestBody 104857600
|
||||||
|
@ -107,6 +102,11 @@ Define MUSIC_DIRECTORY_PATH /srv/funkwhale/data/music
|
||||||
</Location>
|
</Location>
|
||||||
Alias /staticfiles /srv/funkwhale/data/static
|
Alias /staticfiles /srv/funkwhale/data/static
|
||||||
|
|
||||||
|
# Activating WebSockets
|
||||||
|
<Location "/api/v1/activity">
|
||||||
|
ProxyPass ${funkwhale-api-ws}/api/v1/activity
|
||||||
|
</Location>
|
||||||
|
|
||||||
# Setting appropriate access levels to serve frontend
|
# Setting appropriate access levels to serve frontend
|
||||||
<Directory "/srv/funkwhale/data/static">
|
<Directory "/srv/funkwhale/data/static">
|
||||||
Options FollowSymLinks
|
Options FollowSymLinks
|
||||||
|
|
Loading…
Reference in New Issue