From e44a8ad34b40780ee19d62ce439b75d6b79fa1a1 Mon Sep 17 00:00:00 2001 From: Tsz Ming WONG Date: Thu, 16 Jan 2014 11:09:05 +0200 Subject: [PATCH] Fix charset_types as mime.types is updated --- nginx.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nginx.conf b/nginx.conf index c7e34ae..0deae14 100644 --- a/nginx.conf +++ b/nginx.conf @@ -38,6 +38,9 @@ http { include /etc/nginx/mime.types; default_type application/octet-stream; + # Update charset_types due to updated mime.types + charset_types text/html text/xml text/plain text/vnd.wap.wml application/x-javascript application/rss+xml text/css application/javascript application/json + # Format to use in log files log_format main '$remote_addr - $remote_user [$time_local] "$request" ' '$status $body_bytes_sent "$http_referer" '