Static Content on Different Server Isn't Loaded??

smsmaddy1981 nginx-forum at
Mon Jun 22 12:35:32 UTC 2015

Hi Team,

I have static content available on the remote server (say NODE 02) and PATH:
under which I have /image, /js, /styles folders

I have installed nginx-1.8.0 on server (Say Node 01).

While accessing the application, the static contents are not getting

Pls. suggest?

I tried below option:

        location ~*\.(js|jpg|png|css)$ {
            root /WEB-INF/classes/static/;
            expires 30d;

The resultant in access.log shows that the path is weird 


Best regards,

Posted at Nginx Forum:,259786,259786#msg-259786

More information about the nginx mailing list