stub_status stops working after adding static server section

Maxim Dounin mdounin at
Mon Dec 21 08:09:18 MSK 2009


On Sun, Dec 20, 2009 at 08:25:28PM -0500, Ian M. Evans wrote:

> A few days ago, I added a server section to my
> setup for serving static resources on a cookieless domain.
> Just now I noticed that since the change, my nginx reports in munin
> have not been working. The /stub_status location is in my
> server location:
>  location /stub_status {
>                          stub_status on;
>                          access_log off;
>                          allow;
>                          deny all;
>                          }
> Here's the error I've been getting. Again, this has been working for
> months and only stopped when I added the static server section.
> 2009/12/20 11:36:01 [error] 18061#0: *3336839 access forbidden by
> rule, client:, server:, request:
> "GET /stub_status HTTP/1.1", host: ""
> Any ideas why it's getting this error now?

You have access allowed from but connecting from  Any reason why it should work?

Maxim Dounin

More information about the nginx mailing list