0

i have a django rest framework project which serve some endpoint.i deploy it on a linux server.But it dosen't show any static file such as django admin and i just want to disply this django admin correctly with it's css.My project hasn't any static file.My nginx config is following

server {
   listen 80;
   server_name 192.168.31.50;

   location = /favicon.ico { access_log off; log_not_found off; }

   location / {
       include proxy_params;
       proxy_pass http://unix:/run/gunicorn.sock;
   }
}                                                                                                                                                                                                                                  
Community
  • 1
  • 1

0 Answers0