From e177348f81467fd21cd0521d767657ea6a709f26 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arkadiusz=20Ry=C5=9B?= Date: Sun, 5 Apr 2020 12:42:57 +0200 Subject: [PATCH] Remove autoindexing from nginx configuration so nginx uses its default off setting --- .../compose/production/nginx/default.conf | 1 - 1 file changed, 1 deletion(-) diff --git a/{{cookiecutter.project_slug}}/compose/production/nginx/default.conf b/{{cookiecutter.project_slug}}/compose/production/nginx/default.conf index 315fde8e3..aafdd5bee 100644 --- a/{{cookiecutter.project_slug}}/compose/production/nginx/default.conf +++ b/{{cookiecutter.project_slug}}/compose/production/nginx/default.conf @@ -2,7 +2,6 @@ server { listen 80; server_name localhost; location /media/ { - autoindex on; alias /usr/share/nginx/media/; } }