nginx-http-concat module

steve steve at greengecko.co.nz
Fri Aug 26 01:31:11 UTC 2016


I know this is a bit off topic, but has anyone got this module to work?

I have added

concat_types    text/css application/x-javascript application/javascript;

to nginx.conf, scope http

added


location /css/ {
     concat on;
     concat_max_files 30;
}

to the server  config and the code contains

<link rel="stylesheet" type="text/css" href="/css/??file1.css,file2.css" 
/> 
<view-source:http://www.tourism.org.nz/css/??nz/WebfontsKit.css,nz/jquery/ui/jquery-ui.css,nz/jquery/ui/jquery-ui.structure.css,nz/jquery/ui/jquery-ui.theme.css,nz/jquery/plugins/layerslider/layerslider.css,nz/jquery/plugins/tooltipster/tooltipster.css,nz/jquery/plugins/fancybox/jquery.fancybox.css,nz/public.css,nz/public/buttons.css,nz/responsive.css,1469496475.css>

I've also tried every vairation of ?? and /css/  that I can think of, 
all to no avail.

files are in /css as seen from the docroot.

Pointers gratefully received. Total hair loss imminent!

Cheers,

Steve

-- 
Steve Holdoway BSc(Hons) MIITP
http://www.greengecko.co.nz
Linkedin: http://www.linkedin.com/in/steveholdoway
Skype: sholdowa

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20160826/2d3e5461/attachment.html>


More information about the nginx mailing list