Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
funkwhale
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Zwordi
funkwhale
Commits
62cd1df2
Verified
Commit
62cd1df2
authored
6 years ago
by
Eliot Berriot
Browse files
Options
Downloads
Patches
Plain Diff
Fix #249: Added missing subsonic configuration block in deployment vhost files
parent
d2c99b9f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
changes/changelog.d/249.doc
+26
-0
26 additions, 0 deletions
changes/changelog.d/249.doc
deploy/apache.conf
+6
-0
6 additions, 0 deletions
deploy/apache.conf
deploy/nginx.conf
+6
-0
6 additions, 0 deletions
deploy/nginx.conf
with
38 additions
and
0 deletions
changes/changelog.d/249.doc
0 → 100644
+
26
−
0
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>
This diff is collapsed.
Click to expand it.
deploy/apache.conf
+
6
−
0
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
/
...
...
This diff is collapsed.
Click to expand it.
deploy/nginx.conf
+
6
−
0
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/
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment