跳转至

$device_brand

The $device_brand variable provides the manufacturer of the device making the HTTP request.

Type

string

Possible values

  • Apple
  • Samsung
  • Google

Example

location /api {
    proxy_set_header X-Device-Brand $device_brand;
    proxy_pass http://backend;
}