Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
funkwhale_OLD
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
jovuit
funkwhale_OLD
Commits
c6b965c8
Verified
Commit
c6b965c8
authored
7 years ago
by
Eliot Berriot
Browse files
Options
Downloads
Patches
Plain Diff
Updated sample nginx conf
parent
0955df11
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
deploy/nginx.conf
+5
-2
5 additions, 2 deletions
deploy/nginx.conf
with
5 additions
and
2 deletions
deploy/nginx.conf
+
5
−
2
View file @
c6b965c8
# Ensure you update at least the server_name variables to match your own
# domain
# transcode cache
proxy_cache_path
/tmp/funkwhale-transcode
levels=1:2
keys_zone=transcode:10m
max_size=1g
inactive=7d
;
# domain
upstream
funkwhale-api
{
# depending on your setup, you may want to udpate this
server
localhost
:
5000
;
...
...
@@ -85,7 +88,7 @@ server {
}
proxy_set_header
X-Forwarded-Host
$host
:
$server_port
;
proxy_set_header
X-Forwarded-Port
$server_port
;
proxy_pass
http://
api:12081
/api/v1/trackfiles/viewable/?
$query
;
proxy_pass
http://
funkwhale-api
/api/v1/trackfiles/viewable/?
$query
;
proxy_pass_request_body
off
;
proxy_set_header
Content-Length
""
;
}
...
...
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