This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

cmdillon
cmdillon

hi,

i'm using nginx with gzip, but unfortunately css or js files that are combined don't get gziped. i would suppose this happens, because they don't have a prefix of .js or .css.

any ideas on how to solve this?

Crazymodder
Crazymodder

Hi,

Did you try a

location /combine

and inside this gzip for everythink?

cmdillon
cmdillon

hmm, add: "text/javascript to" my nginx.conf file and it that seemed to solve the problem.

1-3 of 3

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.