Question
nginx django and cdn integration
I am running nginx and django on my server, and I have cdn, I setted up cdn but now the issue is how to configure /etc/nginx/sites-available/default
few minutes ago my default file looks like this ->
location /static/ {
root /home/user/env/;
}
but now I have to change them to successfully pull the static files from cdn, But I could not find any resource for this, can any one help me for this to me ?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×