Pular para conteúdo

$browser_name

The $browser_name variable provides the name of the browser making the request.

Type

string

Possible values

  • Chrome
  • Firefox
  • Safari

Example

location / {
    proxy_set_header X-Browser-Name $browser_name;
    proxy_pass http://backend;
}