mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-08-15 09:24:52 +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;
|
listen 80;
|
||||||
server_name localhost;
|
server_name localhost;
|
||||||
location /media/ {
|
location /media/ {
|
||||||
autoindex on;
|
|
||||||
alias /usr/share/nginx/media/;
|
alias /usr/share/nginx/media/;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user