feat: Specify a character set on server

This commit is contained in:
Simon 2020-03-11 14:29:36 +01:00
parent 0d2de1d71f
commit 44ca31ca65
1 changed files with 4 additions and 0 deletions

View File

@ -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;