diff --git a/ngx_http_js_challenge.c b/ngx_http_js_challenge.c index ac93c80..e87e911 100644 --- a/ngx_http_js_challenge.c +++ b/ngx_http_js_challenge.c @@ -214,6 +214,7 @@ int serve_challenge(ngx_http_request_t *r, const char *challenge, const char *ht *(title_c_str + title.len) = '\0'; unsigned char buf[32768]; + static const ngx_str_t content_type = ngx_string("text/html;charset=utf-8"); if (html == NULL) { html = "
js_challenge_html /path/to/body.html;
directive to change this page.