than the redirect setting specified by [Location] on the conf file,
The setting in the hosts stored in the same server takes precedence and an unexpected redirect occurs.
① Is it that nginx's specification makes hosts settings take precedence over config file settings?
② Is there a way to avoid this phenomenon and prioritize the setting of the Conf file?
===========
Below, reference information (background)
Currently, in nginx's Conf file and hosts file in the same server,
Since there is a business requirement that it is necessary to set different IP addresses of the same server name,
It is not possible to delete the settings of the hosts file.