After I modified my app2 and put all my static files to static_app2 and with Francis' suggestion location = /static_app2/img/logo-2.jpg { proxy_pass https://test2.com:444; } . I was able to solve my problem.
Thank you Francis and Paul. Posted at Nginx Forum: https://forum.nginx.org/read.php?2,293219,293242#msg-293242 _______________________________________________ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx