Welcome! Log In Create A New Profile

Advanced

nginx-http-concat module

August 25, 2016 09:32PM
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

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

nginx-http-concat module

GreenGecko August 25, 2016 09:32PM

Re: nginx-http-concat module

GreenGecko August 25, 2016 09:54PM

Re: nginx-http-concat module

Alt August 26, 2016 04:52AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 224
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready