Difference between revisions of "Nginx logs"
Jump to navigation
Jump to search
Line 3: | Line 3: | ||
::<code>zcat -f /var/log/nginx/access.log*</code> | ::<code>zcat -f /var/log/nginx/access.log*</code> | ||
− | tail -f [[/var/log/nginx/error.log]] [[/var/log/nginx/access.log]] | + | tail -f [[/var/log/nginx/error.log]] [[/var/log/nginx/access.log]] [[/var/log/php*-fpm.log]] |
* Module ngx_http_log_module http://nginx.org/en/docs/http/ngx_http_log_module.html | * Module ngx_http_log_module http://nginx.org/en/docs/http/ngx_http_log_module.html |
Revision as of 11:15, 25 January 2024
- Error log file:
/var/log/nginx/error.log
- Access log file:
/var/log/nginx/access.log
zcat -f /var/log/nginx/access.log*
tail -f /var/log/nginx/error.log /var/log/nginx/access.log /var/log/php*-fpm.log
- Module ngx_http_log_module http://nginx.org/en/docs/http/ngx_http_log_module.html
access_log
log_format
Activities
Related terms
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 - Artifactory logs
Advertising: