1. Carl Meyer
  2. django-project-template

Commits

Carl Meyer  committed 3db71ec

Avoid favicon errors on admin.

  • Participants
  • Parent commits de2f33b
  • Branches default

Comments (0)

Files changed (1)

File deploy/vps/nginx.conf.tpl

View file
  • Ignore whitespace
     error_page 503 /maintenance.html;
     location /maintenance.html {}
 
+    location /favicon.ico {
+        root %(site_media_root)s/static/images/;
+        }
+
     location / {
         if (-f $document_root/maintenance.html) {
             return 503;