February 2018
Beginner to intermediate
348 pages
9h 40m
English
With the Charset filter module, you can control the character set of the response body more accurately. Not only are you able to specify the value of the charset argument of the Content-Type HTTP header (such as Content-Type: text/html; charset=utf-8), but Nginx can also re-encode data to a specified encoding method automatically:
|
Directive |
Description |
|
charset Context: http, server, location, if |
This directive adds the specified encoding to the Content-Type header of the response. If the specified encoding differs from the source_charset one, Nginx re-encodes the document. Syntax: charset encoding | off; Default: off Example: charset utf-8; |
|
source_charset Context: http, server, location, if |
Defines the initial ... |
Read now
Unlock full access