I have a issue with running my django application on the production server, Its working fine when i use nginx webserver to serve the static files.
But i have my django application running on one server and my webserver is running on other server.So, i cannot configure nginx to serve the static files.
I Want to know is there any way to serve the Django static files which using nginx server? I mean django should directly serve the static files for my application.
Use
whiteNoise
. WhiteNoise is a package which will help you to serve the staticfiles with very ease. http://whitenoise.evans.io/en/stable/django.html