]> git.parisson.com Git - telemeta.git/commitdiff
Fix nginx.conf
authorThomas Fillon <thomas@parisson.com>
Wed, 24 May 2017 22:35:55 +0000 (00:35 +0200)
committerThomas Fillon <thomas@parisson.com>
Wed, 24 May 2017 22:35:55 +0000 (00:35 +0200)
etc/nginx.conf

index c09e32f450a65ec9e7bd8ec1cd92c1e3082802b6..a5649942bfb68bb0f1ed8a99f2a9da7ffc3867a5 100644 (file)
@@ -27,12 +27,6 @@ server {
 
        }
 
-# Django media
-       location /media {
-                internal;  # protect media files  directory only accessible through Django
-                       alias /srv/media; # your Django project's media files - amend as required
-
-       }
        # Django static
        location /static {
                alias /srv/static; # your Django project's static files - amend as required