Skip to content
Snippets Groups Projects
Commit 43e7555b authored by R En's avatar R En
Browse files

Update common.py to add USE_APACHE_HEADERS set to false

parent 9e5a0f87
Branches
Tags
No related merge requests found
...@@ -390,6 +390,11 @@ REST_FRAMEWORK = { ...@@ -390,6 +390,11 @@ REST_FRAMEWORK = {
ATOMIC_REQUESTS = False ATOMIC_REQUESTS = False
USE_X_FORWARDED_HOST = True USE_X_FORWARDED_HOST = True
USE_X_FORWARDED_PORT = True USE_X_FORWARDED_PORT = True
# Wether we should use Apache or Nginx headers when serving audio files
# Default to Nginx
USE_APACHE_HEADERS = False
# Wether we should check user permission before serving audio files (meaning # Wether we should check user permission before serving audio files (meaning
# return an obfuscated url) # return an obfuscated url)
# This require a special configuration on the reverse proxy side # This require a special configuration on the reverse proxy side
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment