Skip to content

Commit bfa7c8e

Browse files
committed
Correct some MIME types according to RFC
1 parent 966eebc commit bfa7c8e

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

apps/drupal/drupal.conf

-1
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,6 @@ location / {
200200
## uncomment the two lines below.
201201
#proxy_pass http://phpapache/index.php?q=$uri;
202202
#proxy_set_header Connection '';
203-
204203
}
205204
}
206205

mime.types

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ types {
55
text/xml xml;
66
image/gif gif;
77
image/jpeg jpeg jpg;
8-
application/x-javascript js;
8+
application/javascript js;
99
application/atom+xml atom;
1010
application/rss+xml rss;
1111

@@ -96,7 +96,7 @@ types {
9696
application/x-font-ttf ttf;
9797
font/opentype otf;
9898
application/vnd.ms-fontobject eot;
99-
application/x-woff woff;
99+
application/font-woff woff;
100100

101101
application/octet-stream bin exe dll;
102102
application/octet-stream deb;

nginx.conf

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ http {
7373
gzip_comp_level 1;
7474
gzip_http_version 1.1;
7575
gzip_min_length 10;
76-
gzip_types text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript image/x-icon application/vnd.ms-fontobject font/opentype application/x-font-ttf;
76+
gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript image/x-icon application/vnd.ms-fontobject font/opentype application/x-font-ttf;
7777
gzip_vary on;
7878
gzip_proxied any; # Compression for all requests.
7979
## No need for regexps. See

0 commit comments

Comments
 (0)