HTTP directives
error_log_tag directive (HTTP)
Attach a stable diagnostic label to HTTP errors; use synthetic identifiers instead of secrets. Context: http, server, location. Documented default: none. Version: 1.29.8. Commercial subscription only. Local definitions replace inherited tags; multiple tags allowed. Example is a partial http configuration fragment; use a disposable lab, not a production tuning prescription.
Formal Syntax & Structure
nginx syntaxnginx
error_log_tag name value;Parameters & Attributes
| Name | Type | Description |
|---|---|---|
| name | string | Tag key. |
| value | string expression | Tag value; may contain variables. |
Working Example
Example Snippetnginx
error_log_tag lab_component catalog;