Difference between revisions of "Nginx logs"
Jump to navigation
Jump to search
Line 20: | Line 20: | ||
* {{nginx logs}} | * {{nginx logs}} | ||
* {{nginx}} | * {{nginx}} | ||
− | |||
− | |||
[[Category:Web server software]] | [[Category:Web server software]] | ||
[[Category:Logs]] | [[Category:Logs]] |
Revision as of 17:21, 2 January 2025
- Error log file:
/var/log/nginx/error.log
- Access log file:
/var/log/nginx/access.log
zcat -f /var/log/nginx/access.log*
- Module ngx_http_log_module http://nginx.org/en/docs/http/ngx_http_log_module.html
access_log
log_format
Activities
- Track Application Response time in Nginx
zcat -f /var/log/nginx/access.log* | grep " 504 " | awk '{print $4" "$7" "$(NF-1)}'
Related terms
See also
- Nginx logs,
/var/log/nginx/error.log
- 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: