RE: Help for nginx proxy pass rule

2016-04-06 Thread Roni Baby
started to work my location rule changed it like this as per your recommendation location ^~ /static { Thanks a Lot Roni Baby -Original Message- From: Nginx [mailto:nginx-boun...@nginx.org] On Behalf Of Francis Daly Sent: 07 April 2016 03:17 To: nginx@nginx.org Subject: Re: Help for Nginx

Re: Help for nginx proxy pass rule

2016-04-06 Thread Francis Daly
On Wed, Apr 06, 2016 at 06:58:07PM +0530, Roni Baby wrote: Hi there, > Yes the destination URl [https://www.xys.org/static/js/widget.js] is working > perfectly alone > Why it tried locally? I used proxypass rule for it. If I wanted to do > anything to enable proxy capability in my Nginx? Read ht

RE: Help for nginx proxy pass rule

2016-04-06 Thread Roni Baby
-boun...@nginx.org] On Behalf Of Anoop Alias Sent: 06 April 2016 18:51 To: Nginx Subject: Re: Help for nginx proxy pass rule Are you sure the location is working? abc.com/static/js/widget.js" failed (2: No such file or directory) - I think its trying to access that file locally and not via the

Re: Help for nginx proxy pass rule

2016-04-06 Thread Anoop Alias
Are you sure the location is working? abc.com/static/js/widget.js" failed (2: No such file or directory) - I think its trying to access that file locally and not via the proxy On Wed, Apr 6, 2016 at 4:14 PM, Roni Baby wrote: > HI, > > > > We have a WordPress site named it as https://www.abc.com;

Help for nginx proxy pass rule

2016-04-06 Thread Roni Baby
HI, We have a WordPress site named it as https://www.abc.com; We are using Nginx as the web server for this site. I wanted to create a proxy pass rule like this https://www.abc.com/static/js/widget.js will be load from https://www.xys.org/static/js/widget.js without changing URL Here is