Prefixing URL's

Eugaia ngx.eugaia at gmail.com
Tue Dec 28 17:04:12 MSK 2010


Hi,

On 28/12/2010 07:12, David J. wrote:
> I have an app that uses relative URLs
>
> ie: /media/assets/css/style.css
This is not a relative URL, it's an absolute URL from the base of the 
current host.

You need to either use

media/assets/css/style.css

or

/app/media/assets/css/style.css

Marcus.



More information about the nginx mailing list