mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-08-15 01:14:53 +03:00
Remove autoindexing from nginx configuration so nginx uses its default off setting
This commit is contained in:
parent
63520c9b26
commit
e177348f81
|
@ -2,7 +2,6 @@ server {
|
|||
listen 80;
|
||||
server_name localhost;
|
||||
location /media/ {
|
||||
autoindex on;
|
||||
alias /usr/share/nginx/media/;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user