override_charset

Syntax: override_charset on | off;
Default: override_charset off;
Context: http, server, location, if in location

Determines whether a conversion should be performed for answers received from a proxied or a FastCGI/uwsgi/SCGI server when the answers already carry a charset in the “Content-Type” response header field. If conversion is enabled, a charset specified in the received response is used as a source charset.

It should be noted that if a response is received in a subrequest then the conversion from the response charset to the main request charset is always performed, regardless of the override_charset directive setting.
doc_nginx
2017-02-09 07:07:59
Comments
Leave a Comment

Please login to continue.