Can I secure SOAP web services using NGINX API Gateway ?

2017-05-09 Thread zaidahmd
Hi, I need to know that How to secure SOAP web services using NGINX's API gateway feature ? ** Current Implementation ** I have an application with rest interfaces and is secured by NGINX's AUTH_REQUEST module. For each request reaching NGINX, AUTH_REQUEST sends a SubRequest t

Re: Issues with limit_req_zone.

2017-05-09 Thread Francis Daly
On Sun, May 07, 2017 at 04:31:37AM -0400, Vishnu Priya Matha wrote: Hi there, > In limit_req_zone with rate set to 100/s and burst=50, we have below > observation > . > Scenario1 > == > no. of request made by jmeter = 170 > # of request expected to be failing = 20 > # of request actually

Re: NGINX stops redirecting

2017-05-09 Thread Francis Daly
On Mon, May 08, 2017 at 03:17:53PM -0700, Douglas Landau wrote: Hi there, > I don't get it. On Friday, at 13:39, I was happily browsing my XWiki site, > as you can see from the NGINX access_log. Then from that log you see no > activity until 10:31 this morning, at which time it no longer want

Re: Can you migrate a web app available via '/' to a proxied sub-URI without modifying the web app?

2017-05-09 Thread itpp2012
Francis Daly Wrote: --- > nginx gets a request for /static/styles.css. > > I'm not aware of a rewrite which will let you decide which of > web-app-1 > and web-app-2 is the correct one to proxy_pass this request to this > time. Both web apps use t

Re: Can you migrate a web app available via '/' to a proxied sub-URI without modifying the web app?

2017-05-09 Thread Francis Daly
On Tue, May 09, 2017 at 09:03:13AM -0400, itpp2012 wrote: > Francis Daly Wrote: Hi there, > > It cannot work in stock nginx just using nginx.conf normal directives. > > You can with (many) proper rewrites but this does require a very close eye > on the logfiles until you have rewritten all the 4

Re: blank page cached ONLY for homepage URL on Wordpress when using keyword monitoring

2017-05-09 Thread seth2958
Thanks Peter. I just sent you an email from sethleon at gmail dot com. Posted at Nginx Forum: https://forum.nginx.org/read.php?2,274097,274112#msg-274112 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: blank page cached ONLY for homepage URL on Wordpress when using keyword monitoring

2017-05-09 Thread Peter Booth
Seth, It's actually very easy to reproduce this issue - from a browser request http://musikandfilm.com/?a=b and you will see it. There are a couple of low level tools that expose some possible issues. If you email me directly I can talk about this in more detail. Try peter underscore booth at

Re: Can you migrate a web app available via '/' to a proxied sub-URI without modifying the web app?

2017-05-09 Thread itpp2012
Francis Daly Wrote: --- > It cannot work in stock nginx just using nginx.conf normal directives. You can with (many) proper rewrites but this does require a very close eye on the logfiles until you have rewritten all the 40x's, and for the sake o

Re: Can you migrate a web app available via '/' to a proxied sub-URI without modifying the web app?

2017-05-09 Thread Francis Daly
On Mon, May 08, 2017 at 06:17:02PM -0500, deoren wrote: Hi there, > I'm still > not completely clear on whether this is supported. nginx does the nginx side as much as it can. Whether it all works is almost entirely down to the web app. You cannot reliably reverse-proxy an arbitrary web app to

Re: Can you migrate a web app available via '/' to a proxied sub-URI without modifying the web app?

2017-05-09 Thread itpp2012
location /flask-demo/ { root /var/www/passenger-python-flask-demo; proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Host $host; rewrite/flask-demo/([^/]+) /$1 break;

Re: Can you migrate a web app available via '/' to a proxied sub-URI without modifying the web app?

2017-05-09 Thread Michael Salmon
Yes you can but you need to rewrite the text as it passes through nginx using a sub_filter. It isn't that hard but it is tedious. /Michael Salmon > On 9 May 2017, at 01:18, deoren wrote: > > Hi, > > Thanks for reading this. > > My apologies if this has been answered before, but after much re