Now return media files with absolute URL

This commit is contained in:
Eliot Berriot 2017-07-11 09:14:54 +02:00
parent e8eaf6db94
commit da4c76ace8
5 changed files with 17 additions and 3 deletions

View file

@ -313,7 +313,8 @@ REST_FRAMEWORK = {
}
ATOMIC_REQUESTS = False
USE_X_FORWARDED_HOST = True
USE_X_FORWARDED_PORT = True
# Wether we should check user permission before serving audio files (meaning
# return an obfuscated url)
# This require a special configuration on the reverse proxy side