feat: Specify a character set on server
This commit is contained in:
parent
0d2de1d71f
commit
44ca31ca65
|
@ -19,6 +19,10 @@ server {
|
||||||
index index.html index.htm;
|
index index.html index.htm;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# https://gtmetrix.com/specify-a-character-set-early.html
|
||||||
|
# https://www.cyberciti.biz/faq/nginx-set-http-content-type-response-header-to-charset-utf8/
|
||||||
|
charset UTF-8;
|
||||||
|
|
||||||
#Caching (save html pages for 7 days, rest as long as possible, no caching on frontpage)
|
#Caching (save html pages for 7 days, rest as long as possible, no caching on frontpage)
|
||||||
expires $expires;
|
expires $expires;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue