django app static files on the different server not get loaded

ningja nginx-forum at forum.nginx.org
Mon Jan 3 14:59:10 UTC 2022


Hi Francis,

I tried your suggestion. location = /static2/img/logo-2.jpg { proxy_pass
https://test2.com:444; } and I can access the img from
http://test1/static2/img/logo-2.jpg.

I'll try to edit my app2 django to use static2 instead static.

Thank you for your suggestion,

Sue

Posted at Nginx Forum: https://forum.nginx.org/read.php?2,293219,293236#msg-293236

_______________________________________________
nginx mailing list
nginx at nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx



More information about the nginx mailing list