Skip to content
Snippets Groups Projects
Commit e592c8dc authored by Tomáš Valenta's avatar Tomáš Valenta
Browse files

remove unusued downloadview backend

parent 6279e0ec
No related branches found
No related tags found
No related merge requests found
Pipeline #11939 passed
...@@ -26,7 +26,6 @@ RUN DATABASE_URL=postgres://x/x \ ...@@ -26,7 +26,6 @@ RUN DATABASE_URL=postgres://x/x \
DEFAULT_CONTRACTEE_ZIP=x \ DEFAULT_CONTRACTEE_ZIP=x \
DEFAULT_CONTRACTEE_DISTRICT=x \ DEFAULT_CONTRACTEE_DISTRICT=x \
DEFAULT_CONTRACTEE_ICO_NUMBER=x \ DEFAULT_CONTRACTEE_ICO_NUMBER=x \
DOWNLOADVIEW_BACKEND=x \
python manage.py collectstatic --noinput --settings=registry.settings.production python manage.py collectstatic --noinput --settings=registry.settings.production
RUN bash -c "adduser --disabled-login --quiet --gecos app app && \ RUN bash -c "adduser --disabled-login --quiet --gecos app app && \
......
...@@ -15,5 +15,3 @@ DEFAULT_CONTRACTEE_STREET="Na Moráni 360/3" ...@@ -15,5 +15,3 @@ DEFAULT_CONTRACTEE_STREET="Na Moráni 360/3"
DEFAULT_CONTRACTEE_ZIP="128 00" DEFAULT_CONTRACTEE_ZIP="128 00"
DEFAULT_CONTRACTEE_DISTRICT="Praha 2" DEFAULT_CONTRACTEE_DISTRICT="Praha 2"
DEFAULT_CONTRACTEE_ICO_NUMBER="71339698" DEFAULT_CONTRACTEE_ICO_NUMBER="71339698"
DOWNLOADVIEW_BACKEND=django_downloadview.nginx.XAccelRedirectMiddleware
...@@ -193,14 +193,6 @@ MEDIA_URL = "/media/" ...@@ -193,14 +193,6 @@ MEDIA_URL = "/media/"
DEFAULT_FILE_STORAGE = "django_downloadview.storage.SignedFileSystemStorage" DEFAULT_FILE_STORAGE = "django_downloadview.storage.SignedFileSystemStorage"
#DOWNLOADVIEW_BACKEND = env.str("DOWNLOADVIEW_BACKEND")
#DOWNLOADVIEW_RULES = [
#{
#"source_url": "/media/",
#"destination_url": "/media-nginx-optimized/",
#},
#]
## Server ## Server
USE_X_FORWARDED_HOST = True USE_X_FORWARDED_HOST = True
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment