Difference between revisions of "Nginx -V"
Jump to navigation
Jump to search
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 1.1.1.1; | ||
+ | deny all; | ||
+ | } | ||
Revision as of 13:25, 23 December 2024
nginx -V 2>&1 | grep -o with-http_stub_status_module
location /nginx_status { stub_status on; access_log off; allow 1.1.1.1; deny all; }
See also
- 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: