From 1b2a2c46e4fcdd109f9c5e914fdc2797d5cd42c5 Mon Sep 17 00:00:00 2001 From: Nizar Lazuardy Firmansyah Date: Thu, 23 Apr 2020 17:07:48 +0700 Subject: [PATCH 1/3] mime application/javascript use modern style --- ngx_http_concat_module.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ngx_http_concat_module.c b/ngx_http_concat_module.c index 80e427c..98f8de0 100644 --- a/ngx_http_concat_module.c +++ b/ngx_http_concat_module.c @@ -30,7 +30,7 @@ static char *ngx_http_concat_merge_loc_conf(ngx_conf_t *cf, void *parent, static ngx_str_t ngx_http_concat_default_types[] = { - ngx_string("application/x-javascript"), + ngx_string("application/javascript"), ngx_string("text/css"), ngx_null_string }; From cb61e3f8327296c17c3e2de354724138920abe11 Mon Sep 17 00:00:00 2001 From: Nizar Lazuardy Firmansyah Date: Tue, 30 Jun 2020 06:37:43 +0700 Subject: [PATCH 2/3] master #comment update readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 46e6a6b..458e999 100644 --- a/README.md +++ b/README.md @@ -47,7 +47,7 @@ It enables the concatenation in a given context. **concat_types** `MIME types` -**default:** `concat_types: text/css application/x-javascript` +**default:** `concat_types: text/css application/javascript` **context:** `http, server, location` From ab7118661123e4c18b4bc9e14939d233f0f4d462 Mon Sep 17 00:00:00 2001 From: Nizar Lazuardy Firmansyah Date: Tue, 30 Jun 2020 06:43:53 +0700 Subject: [PATCH 3/3] master #comment delete typo --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 458e999..dd953b5 100644 --- a/README.md +++ b/README.md @@ -80,7 +80,7 @@ the respective MIME type via `concat_types`,

-**concat\_max\_files** `number`p +**concat\_max\_files** `number` **default:** `concat_max_files 10`