Difference between revisions of "Nginx -V"
Jump to navigation
Jump to search
(2 intermediate revisions by the same user not shown) | |||
Line 5: | Line 5: | ||
nginx -V 2>&1 | grep -o [[with-http_stub_status_module]] | nginx -V 2>&1 | grep -o [[with-http_stub_status_module]] | ||
+ | |||
+ | [[location]] /nginx_status { | ||
+ | stub_status on; | ||
+ | access_log off; | ||
+ | allow 127.0.0.1; | ||
+ | deny all; | ||
+ | } | ||
Latest revision as of 13:26, 23 December 2024
nginx -V 2>&1 | grep -o with-http_stub_status_module
location /nginx_status { stub_status on; access_log off; allow 127.0.0.1; deny all; }
See also[edit]
- Web server: Nginx:
/etc/nginx/nginx.conf
,nginx -t
, Nginx logs, Nginx change log, PHP,php-fpm
, Let's encrypt, Nginx directives, Reverse Proxy, Configure HTTP redirection Nginx, Return,proxy_pass (Reverse proxy)
,ngx_http_rewrite_module
,/etc/nginx/sites-enabled/
,error.log
,access.log
,/nginx status
, AIO
Advertising: