From 44ca31ca65e0e054a3b58974959feff5c39e5cc3 Mon Sep 17 00:00:00 2001 From: Simon C Date: Wed, 11 Mar 2020 14:29:36 +0100 Subject: [PATCH] feat: Specify a character set on server --- nginx-default.conf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nginx-default.conf b/nginx-default.conf index 3ec0a78..a1ad5d1 100644 --- a/nginx-default.conf +++ b/nginx-default.conf @@ -19,6 +19,10 @@ server { 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) expires $expires;