skip to Main Content

I have django application and nginx

I have django application and nginx, from browser, it access to the file /static. such as http://example.com/static/file.png However my application has files under /staticroot. http://example.com/staticroot/file.png it shows the image. So, I set on nginx. location /static { alias /staticroot; }…

VIEW QUESTION
Back To Top
Search