About
This page adds information on how to be able to diagnostic or debug a problem with nginx
List
Send Special Header Field
location ~* ^.+.(jpg|jpeg|gif|css|png|js|ico|html|xml|txt)$ {
add_header X-uri "$uri";
add_header X-debug-message "A static file was served" always;
...
}
Set the log level
error_log {{ nginx_log_path }}/{{ fqdn }}/https-error.log fine;