Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
CombineAssets on nginx

$Configuration['Garden']['CombineAssets'] = TRUE;
i have tried combined assets on NGINX but not showing the stylesheet im using bootstrap 3.1
the link is not present
it's not showing any cache
Did anyone of you guys are running on nginx and got combined assets to work ? it's very helpful since combining css would greatly help the payload.
0
Answers
show your server rules please.
grep is your friend.
utility is not a physical location so you need to tell nginx what to do as css is served as static content typically.
Alternatively you can use my plugin
http://vanillaforums.org/addon/consolidate-plugin-0.1.6b
Advantages:
If you make changes to theme, plugin, without updating version, you will need to remember to click the clear cache button, bu this is not a biggie.
grep is your friend.
hi @x00
nothing fancy. i've been using this config for a long time. is there something to add?
consolidate got this error on default installation for 2.1 rc1
fixed the consolidate error before the error line put:
if(is_array($Filename) )
lots of problems on consolidate even the most important "quote" feature goes to new comment page when clicked and not stay on parent window
that is incorrect becuase $Filename is the needle not the haystack. Good catch though that check doesn't need to be there.
grep is your friend.
Check to see what file have been created. You are not deferring js to bottom are you? Don't do that it is for experts only. I presume you disabled CombineAssets
grep is your friend.
Your server rules are lackluster, but
is redundant. take that out. I defiantly recommend putting the php handler first.
grep is your friend.
this works by chance the second line won't be reached.
replace with
like i said php handler should be before this.
grep is your friend.
Just tried it an works fine. Combine assets should be in /cache/css if not you haven't set permissions correctly, you may need to create this folder.
that will also be the problem with consolidate.
grep is your friend.
is there a reason for this? it seem redundant to me, unless it really is detached.
grep is your friend.
I've updated Consolidate
http://vanillaforums.org/addon/consolidate-plugin
read the instructions regarding creating the folder Consolidate and file permissions, then you may need to clear
grep is your friend.
I've toyed around with nginx a bit and often found that
location forum...
part, but found the one linertry_files $uri $uri/ /index.php?p=$uri&$args;
much more elegant. Could you tell me why you do not prefer it?you don't have to use an alias, but say for instance the folder is in a subdomian, you are not using the whole
$uri&$args;
. Therewrite ^/(.+)$ /index.php?p=$1 last;
isn't reached anyway.args would be passed automatically to the alias. With a rewrite there is no need to explicitly tag them on.
grep is your friend.
thanks for your help guys
the result is awesome
consolidate is the best 
@fr3em1nd
if you also made the suggested changes to nginx rules with x00's recs.
can you report with all changes made.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
@peregrine
the only nginx rules i removed is:
the other recommendations are not applicable on my end since i'm using vanilla as base script on my domain.