I have an app that uses relative URLs
ie: /media/assets/css/style.css
in my server config I have
location /app {
#config stuff here.
}
When I go to "/app" from a browser the urls are not prefixed with "/app"
they stay the same ie: "/media/assets/css/style.css"
But because I mounted the "/app" rather than the root "/" the urls are
no longer valid.
"/media/assets/css/style.css" should be "/app/media/assets/css/style.css"
What options are available to fix this?
Thanks in advance for any guidance.
_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx