Module ngx_http_browser_module
- Example Configuration
- Directives
- ancient_browser
- ancient_browser_value
- modern_browser
- modern_browser_value
The ngx_http_browser_module
module creates variables whose values depend on the value of the “User-Agent” request header field:
$modern_browser
- equals the value set by the modern_browser_value directive, if a browser was identified as modern;
$ancient_browser
- equals the value set by the ancient_browser_value directive, if a browser was identified as ancient;
$msie
- equals “1” if a browser was identified as MSIE of any version.