diff --git a/fixtures/cors.template b/fixtures/cors.template index 7cfbec6e..bfb83b57 100644 --- a/fixtures/cors.template +++ b/fixtures/cors.template @@ -3,4 +3,3 @@ add_header 'Access-Control-Allow-Credentials' 'true'; add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS'; add_header 'Access-Control-Allow-Headers' 'DNT,X-Mx-ReqToken,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,X-StApps-Version'; add_header 'Access-Control-Max-Age' 1728000; -add_header 'Content-Type' 'text/plain charset=UTF-8'; diff --git a/nginx.conf.template b/nginx.conf.template index 6cadc1f4..7465d2a6 100644 --- a/nginx.conf.template +++ b/nginx.conf.template @@ -21,6 +21,7 @@ map $isRateLimited $rateLimit { limit_req_zone $rateLimit zone=customstappslimit:10m rate=20r/s; server { + charset utf-8; error_log stderr; access_log /dev/stdout {{{ logFormat }}};