Re: Static Content on Different Server Isn't Loaded??

2015-08-19 Thread Francis Daly
On Tue, Aug 18, 2015 at 01:12:54PM -0400, smsmaddy1981 wrote: Hi there, > This WORKS in reading static content from remote server >location ^~/wkspace/ { > proxy_pass http://citwkspace; >} For the request that works: what does your nginx log say that the request to

Re: Static Content on Different Server Isn't Loaded??

2015-08-18 Thread smsmaddy1981
Hi Francis, One more observation pls. This WORKS in reading static content from remote server location ^~/wkspace/ { proxy_pass http://citwkspace; } This DOESN'T WORK? in reading static content from remote server location ^~/wkspace/agentLogin/ {

Re: Static Content on Different Server Isn't Loaded??

2015-08-17 Thread smsmaddy1981
Hi Francis, There were some HW upgrades because of which I was halted to make anymore trials. Today, I am revoked the access to continue my investigation and with your recent suggestion/tip...I am able to access the static content. Cheers and very kind for your quick support. Best regards, smsm

Re: Static Content on Different Server Isn't Loaded??

2015-08-02 Thread smsmaddy1981
Hi Francis Thanks for your quick support, I will revert with my observations. Regards. Maddy Posted at Nginx Forum: http://forum.nginx.org/read.php?2,259786,260714#msg-260714 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/li

Re: Static Content on Different Server Isn't Loaded??

2015-08-02 Thread Francis Daly
On Sun, Aug 02, 2015 at 06:59:03PM -0400, smsmaddy1981 wrote: > "/content/img.jpg" is sepcific to an application and which is deployed on > "ser02". I'm going to guess that you mean "every request that starts with /content/ should be handled by ser02". In that case, your configuration should be l

Re: Static Content on Different Server Isn't Loaded??

2015-08-02 Thread smsmaddy1981
"/content/img.jpg" is sepcific to an application and which is deployed on "ser02". Whenenver an web request is made accessing the application (deployed on ser02)...through upstream configuration...the service responds reaching ser02...but static files (/content/img.jpg) are not rendered. The acces

Re: Static Content on Different Server Isn't Loaded??

2015-08-02 Thread Francis Daly
On Sun, Aug 02, 2015 at 06:36:13PM -0400, smsmaddy1981 wrote: > Answer below pls: > > Nginx is on "ser01" > file is on "ser02" How do you know that /content/img.jpg should be served from ser02, and not from ser01 or ser03? What is special about /content/img.jpg that says "this is on ser02"? (Yo

Re: Static Content on Different Server Isn't Loaded??

2015-08-02 Thread smsmaddy1981
Answer below pls: Nginx is on "ser01" file is on "ser02" //Maddy Posted at Nginx Forum: http://forum.nginx.org/read.php?2,259786,260710#msg-260710 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Static Content on Different Server Isn't Loaded??

2015-08-02 Thread Francis Daly
On Sun, Aug 02, 2015 at 05:44:27PM -0400, smsmaddy1981 wrote: Hi there, > Yes, the file/s are located. Verified with all servers. You make a http request for /content/img.jpg. The file /usr/local/nginx/html/content/img.jpg is on one of your five servers. You seem to report that nginx fails to

Re: Static Content on Different Server Isn't Loaded??

2015-08-02 Thread smsmaddy1981
Hi Francis, Yes, the file/s are located. Verified with all servers. Best regards, Maddy Posted at Nginx Forum: http://forum.nginx.org/read.php?2,259786,260708#msg-260708 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinf

Re: Static Content on Different Server Isn't Loaded??

2015-08-02 Thread Francis Daly
On Sat, Aug 01, 2015 at 07:32:42PM -0400, smsmaddy1981 wrote: Hi there, > Issue arises, when trying to access services deployed on other servers > (2,3,4,5). request is reached via upstream servers configured. > Unfortunately, the static content (2,3,4,5) servers are not getting > fetched/loaded.

Re: Static Content on Different Server Isn't Loaded??

2015-08-01 Thread smsmaddy1981
Hi Francis, I tried possible options suggested proxy_pass, fastcgi_pass...and was unsuccessful This query was posted in another request http://forum.nginx.org/read.php?2,260231,260232#msg-260232 and you are smart to redirect me back to this earlier request. I would like to detail more on my quest

Re: Static Content on Different Server Isn't Loaded??

2015-06-23 Thread Francis Daly
On Mon, Jun 22, 2015 at 08:35:32AM -0400, smsmaddy1981 wrote: Hi there, > I have static content available on the remote server (say NODE 02) and PATH: > ../livetest/WEB-INF/static/classes/ > under which I have /image, /js, /styles folders nginx doesn't know about static content. nginx knows abo

Static Content on Different Server Isn't Loaded??

2015-06-22 Thread smsmaddy1981
Hi Team, I have static content available on the remote server (say NODE 02) and PATH: ../livetest/WEB-INF/static/classes/ 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 loa