Context: http, server, and location
This directive applies to internal redirects (for more information about internal redirects, check the Rewrite module section). If set to on, Nginx will use the first hostname specified in the server_name directive. If set to off, Nginx will use the value of the Host header from the HTTP request.
Syntax: on or off
Default value: off