Welcome! Log In Create A New Profile

Advanced

Не работает nginx_status

March 10, 2011 08:16AM
Доброе время суток!
Столкнулся вот с какой незадачей. Решил поработать с модулем nginx_status

[root@server]# nginx -V
nginx version: nginx/0.8.54
built by gcc 4.1.2 20080704 (Red Hat 4.1.2-48)
TLS SNI support disabled
configure arguments:
...
--with-http_stub_status_module
...

Добавил в nginx.conf
<------>location /nginx_status {
<------> stub_status on;
<------> access_log on;
<------>}

Пытаюсь в браузере открыть http://site.ru/nginx_status
бэкэнд (apache) выдает 404 ошибку:
Not Found
The requested URL /nginx_status was not found on this server.
Ну и логи nginx:
11.22.33.44 - - [10/Mar/2011:16:14:32 +0300] "GET /nginx_status HTTP/1.1" 404 2260 "-" "Opera/9.80 (Windows NT 5.1; U; ru) Presto/2.7.62 Version/11.01"

Подскажите, где я мог ошибиться?
Subject Author Posted

Не работает nginx_status

aceton March 10, 2011 08:16AM

Re: Не работает nginx_status

aceton March 10, 2011 08:19AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 265
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready