Welcome! Log In Create A New Profile

Advanced

404 проблема с stub_status

October 02, 2011 08:14AM
Здравствуйте!

У меня наверное быстро решимая проблема, но я просто решение вопроса не вижу.
Работает у меня nginx 1.0.8
--------
nginx: nginx version: nginx/1.0.8
nginx: configure arguments: --with-http_gzip_static_module --with-openssl=/usr/include --with-http_stub_status_module --http-proxy-temp-path=/dev/shm/nginx/proxy_temp --http-fastcgi-temp-path=/dev/shm/nginx/fastcgi_temp --http-uwsgi-temp-path=/dev/shm/nginx/uwsgi_temp --http-scgi-temp-path=/dev/shm/nginx/scgi_temp --http-client-body-temp-path=/dev/shm/nginx/client_body_temp --http-log-path=/var/log/nginx/access.log --error-log-path=/var/log/nginx/error.log --conf-path=/etc/nginx/nginx.conf --user=www-data --group=www-data
--------
и в соответствующем файле у меня стоит в секции Server:

--------
location /status {
stub_status on;
access_log off;
allow 127.0.0.1;
deny all;
}
------


всё такие я получаю ошибку 404, когда я на сервере наберу "GET domain/status"
В чем может состоить проблема?

Спасибо вам большое.
Андрей
Subject Author Posted

404 проблема с stub_status

whocarez October 02, 2011 08:14AM

Re: 404 проблема с stub_status

zooleen November 11, 2020 04:49AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 128
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