Gah...

On 08/26/2016 01:31 PM, steve wrote:
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
answering my own question. If any of the files are missing, it returns a 404.

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

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to