@Maxim Dounin
So a simple service nginx restart would do the job ?
Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,254626,254811#msg-254811
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
On Thu, Nov 13, 2014 at 06:20:05AM -0500, nrahl wrote:
Hi there,
> If the nocache
> parameter is present, it should skip the cache check and go straight to the
> proxy pass.
Untested, but I think that if I needed this, I would probably add an
"if" inside the location{}.
It would need testing, a
Hello!
On Wed, Nov 12, 2014 at 12:20 PM, Guido Accardo wrote:
>
> Here, prod response is sent immediately as I want and dev receives the
> traffic but the connection is closed the I got a Broken Pipe (which makes
> sense).
>
For this error, maybe you should configure
proxy_ignore_client_abor
Hello!
On Thu, Nov 13, 2014 at 09:38:17AM -0500, Jonathan Kolb wrote:
> You can also accomplish this without matching in a map:
>
> map $pipe $dashed_param {
> default $arg_param-name;
> }
While this may currently work, I wouldn't recommend relying on
this - as this is rather a bug than a de
You can also accomplish this without matching in a map:
map $pipe $dashed_param {
default $arg_param-name;
}
(I tried a geo block first, but it expanded to a literal '$arg_param-name'
for some reason)
On Wed, Nov 12, 2014 at 5:43 PM, Francis Daly wrote:
> On Wed, Nov 12, 2014 at 03:38:03AM -
Hello!
On Thu, Nov 13, 2014 at 03:33:03AM -0500, carlg wrote:
> Hi,
>
> It works, but i am still able to access the php files inside the restricted
> directories. I tried with :
>
> location /myfolder/(.+)\.php$ {
> deny all;
> }
>
> But this doesn't work!
If you followed what I suggested, y
We'd like to bypass a location if a query string varaible is present. Is
this an approriate place to use "if", and if so, how should it be done? If
the URL is a forward slash, followed by anything, followed by a forward
slash, it attempts to find a static html.gz file in the cache folder
matching t
Hi,
It works, but i am still able to access the php files inside the restricted
directories. I tried with :
location /myfolder/(.+)\.php$ {
deny all;
}
But this doesn't work!
Also, i cannot make this method work nice with our clean url's. We are
using :
location / {
#try_fil