Fix charset_types as mime.types is updated

This commit is contained in:
Tsz Ming WONG 2014-01-16 11:09:05 +02:00 committed by Cătălin Mariș
parent 8a870c2e5b
commit e44a8ad34b
1 changed files with 3 additions and 0 deletions

View File

@ -38,6 +38,9 @@ http {
include /etc/nginx/mime.types; include /etc/nginx/mime.types;
default_type application/octet-stream; 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 # Format to use in log files
log_format main '$remote_addr - $remote_user [$time_local] "$request" ' log_format main '$remote_addr - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" ' '$status $body_bytes_sent "$http_referer" '