Skip to content
Snippets Groups Projects
Verified Commit c6b965c8 authored by Eliot Berriot's avatar Eliot Berriot
Browse files

Updated sample nginx conf

parent 0955df11
No related branches found
No related tags found
No related merge requests found
# 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 "";
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment