Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Auri
funkwhale
Commits
62cd1df2
Verified
Commit
62cd1df2
authored
May 29, 2018
by
Eliot Berriot
Browse files
Fix #249: Added missing subsonic configuration block in deployment vhost files
parent
d2c99b9f
Changes
3
Hide whitespace changes
Inline
Side-by-side
changes/changelog.d/249.doc
0 → 100644
View file @
62cd1df2
Added missing subsonic configuration block in deployment vhost files (#249)
Missing subsonic configuration bloc in vhost files
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Because of a missing bloc in the sample Nginx and Apache configurations,
instances that were deployed after the 0.13 release are likely to be unable
to answer to Subsonic clients (the missing bits were properly documented
in the changelog).
Ensure you have the following snippets in your Nginx or Apache configuration
if you plan to use the Subsonic API.
Nginx::
location /rest/ {
include /etc/nginx/funkwhale_proxy.conf;
proxy_pass http://funkwhale-api/api/subsonic/rest/;
}
Apache2::
<Location "/rest">
ProxyPass ${funkwhale-api}/api/subsonic/rest
ProxyPassReverse ${funkwhale-api}/api/subsonic/rest
</Location>
deploy/apache.conf
View file @
62cd1df2
...
...
@@ -84,6 +84,12 @@ Define MUSIC_DIRECTORY_PATH /srv/funkwhale/data/music
ProxyPassReverse
${
funkwhale
-
api
}/
federation
</
Location
>
# You can comment this if you don't plan to use the Subsonic API
<
Location
"/rest"
>
ProxyPass
${
funkwhale
-
api
}/
api
/
subsonic
/
rest
ProxyPassReverse
${
funkwhale
-
api
}/
api
/
subsonic
/
rest
</
Location
>
<
Location
"/.well-known/"
>
ProxyPass
${
funkwhale
-
api
}/.
well
-
known
/
ProxyPassReverse
${
funkwhale
-
api
}/.
well
-
known
/
...
...
deploy/nginx.conf
View file @
62cd1df2
...
...
@@ -67,6 +67,12 @@ server {
proxy_pass
http://funkwhale-api/federation/
;
}
# You can comment this if you do not plan to use the Subsonic API
location
/rest/
{
include
/etc/nginx/funkwhale_proxy.conf
;
proxy_pass
http://funkwhale-api/api/subsonic/rest/
;
}
location
/.well-known/
{
include
/etc/nginx/funkwhale_proxy.conf
;
proxy_pass
http://funkwhale-api/.well-known/
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment