diff --git a/Dockerfile b/Dockerfile index 60f88a048f9cc212b46c12221e83862a357a25a2..06326882456a9965f376e2deffcd09c81e9bfce0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -26,7 +26,6 @@ RUN DATABASE_URL=postgres://x/x \ DEFAULT_CONTRACTEE_ZIP=x \ DEFAULT_CONTRACTEE_DISTRICT=x \ DEFAULT_CONTRACTEE_ICO_NUMBER=x \ - DOWNLOADVIEW_BACKEND=x \ python manage.py collectstatic --noinput --settings=registry.settings.production RUN bash -c "adduser --disabled-login --quiet --gecos app app && \ diff --git a/env.example b/env.example index d4928788ec945aac792d4eb6a3e7b9d110b8b810..3a72fc29c7ada2c915b6b9ef1323870869612732 100644 --- a/env.example +++ b/env.example @@ -15,5 +15,3 @@ DEFAULT_CONTRACTEE_STREET="Na MorĂ¡ni 360/3" DEFAULT_CONTRACTEE_ZIP="128 00" DEFAULT_CONTRACTEE_DISTRICT="Praha 2" DEFAULT_CONTRACTEE_ICO_NUMBER="71339698" - -DOWNLOADVIEW_BACKEND=django_downloadview.nginx.XAccelRedirectMiddleware diff --git a/registry/settings/base.py b/registry/settings/base.py index 7d07beb7373776086c387b84c115f521622a053a..9fe492d30bbb1d38763fec1aa33b46a0361a075b 100644 --- a/registry/settings/base.py +++ b/registry/settings/base.py @@ -193,14 +193,6 @@ MEDIA_URL = "/media/" DEFAULT_FILE_STORAGE = "django_downloadview.storage.SignedFileSystemStorage" -#DOWNLOADVIEW_BACKEND = env.str("DOWNLOADVIEW_BACKEND") -#DOWNLOADVIEW_RULES = [ - #{ - #"source_url": "/media/", - #"destination_url": "/media-nginx-optimized/", - #}, -#] - ## Server USE_X_FORWARDED_HOST = True