Ensure we return correct paths when using Apache as a reverse proxy

This commit is contained in:
Eliot Berriot 2018-04-22 16:34:07 +02:00
parent ad43d160bd
commit 300e24dbde
No known key found for this signature in database
GPG key ID: DD6965E2476E5C27
3 changed files with 57 additions and 13 deletions

View file

@ -41,6 +41,10 @@ FUNKWHALE_API_PORT=5000
# your instance
FUNKWHALE_URL=https://yourdomain.funwhale
# Depending on the reverse proxy used in front of your funkwhale instance,
# the API will use different kind of headers to serve audio files
# Allowed values: nginx, apache2
REVERSE_PROXY_TYPE=nginx
# API/Django configuration