Hi Gunter, On Thu, Apr 29, 2021 at 03:34:39AM +0200, Gunter Grodotzki wrote: > Hi all, > > Is there a simple way that I am missing to enable output compression for njs > scripts?
I don't think it's good practice to use the njs module for a compression or any other heavy-math calculations. > It seems to be working for r.internalRedirect(‘/foo.html’) > > But not for: > r.headersOut['Content-Type'] = 'text/html; charset=UTF-8' > r.return(200, someHtml) Could you share more light about goals you're doing to archive in this case. -- Sergey Osokin _______________________________________________ nginx-devel mailing list nginx-devel@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx-devel