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
070ad961
Commit
070ad961
authored
6 years ago
by
R En
Browse files
Options
Downloads
Patches
Plain Diff
Updated apache2 conf file for websockets
parent
c6b04ee5
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
changes/changelog.d/252.enhancement
+1
-0
1 addition, 0 deletions
changes/changelog.d/252.enhancement
deploy/apache.conf
+3
-5
3 additions, 5 deletions
deploy/apache.conf
docs/installation/index.rst
+0
-9
0 additions, 9 deletions
docs/installation/index.rst
with
4 additions
and
14 deletions
changes/changelog.d/252.enhancement
0 → 100644
+
1
−
0
View file @
070ad961
Apache2 reverse proxy now supports websockets (with Apache 2.4.25) (!252)
This diff is collapsed.
Click to expand it.
deploy/apache.conf
+
3
−
5
View file @
070ad961
...
...
@@ -4,10 +4,8 @@ Define funkwhale-sn funkwhale.yourdomain.com
# Following variables should be modified according to your setup and if you
# use different configuration than what is described in our installation guide.
Define
funkwhale
-
api
http
://
localhost
:
5000
Define
funkwhale
-
api
-
ws
ws
://
localhost
:
5000
Define
MUSIC_DIRECTORY_PATH
/
srv
/
funkwhale
/
data
/
music
# websockets are not working yet
# Define funkwhale-api-ws ws://localhost:5000
# HTTP requests redirected to HTTPS
<
VirtualHost
*:
80
>
...
...
@@ -70,8 +68,8 @@ Define MUSIC_DIRECTORY_PATH /srv/funkwhale/data/music
Allow
from
all
</
Proxy
>
# Activating WebSockets
(not working)
#
ProxyPass "/api/v1/instance/activity"
"ws://localhost:5000
/api/v1/instance/activity
"
# Activating WebSockets
ProxyPass
"/api/v1/instance/activity"
${
funkwhale
-
api
-
ws
}
/
api
/
v1
/
instance
/
activity
<
Location
"/api"
>
# similar to nginx 'client_max_body_size 30M;'
...
...
This diff is collapsed.
Click to expand it.
docs/installation/index.rst
+
0
−
9
View file @
070ad961
...
...
@@ -124,15 +124,6 @@ If everything is fine, you can restart your nginx server with ``service nginx re
Apache2
^^^^^^^
.. note::
Apache2 support is still very recent and the following features
are not working yet:
- Websocket (used for real-time updates on Instance timeline)
Those features are not necessary to use your Funkwhale instance.
Ensure you have a recent version of apache2 installed on your server.
You'll also need the following dependencies::
...
...
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