Welcome! Log In Create A New Profile

Advanced

proxy_pass isnt loading required resources

Georgi Minkov
February 11, 2017 02:18PM
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 _______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

proxy_pass isnt loading required resources

Georgi Minkov February 11, 2017 02:18PM

Re: proxy_pass isnt loading required resources

Maxim Dounin February 12, 2017 09:46AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 262
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready