proxy_pass isnt loading required resources

Georgi Minkov gesh_m1nkov at abv.bg
Sat Feb 11 19:15:51 UTC 2017


Hello :) I`m having difficulties with configuring nginx to serve different applications based on the location in header.  I`m successfully hit the index page but the additional resources are not returned (404). Checked the url in browser console and the request url is not modified with the location.  Lets say the address is 
example.com/test 
.... but the next request for each resource is not automatically adding the location, so remain:  example.com/bootstrap/3.3.7/css/bootstrap-theme.min.css
  instead of
  example.com/bootstrap/ test /3.3.7/css/bootstrap-theme.min.css .  
  If the location is added to the URL is all fine.  
  Kindly ask if someone can help me or give me a tip (not that i havent tried almost anything on the net), i suggest someone of you will know that or at least will tell me that is not supported.  
  Thanks in advanced!  
  Best,  Georgi 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20170211/6d036a67/attachment.html>


More information about the nginx mailing list