Wednesday, 15 July 2015

django-compressor and nginx: 404 with compressed files -



django-compressor and nginx: 404 with compressed files -

what weird error. i'm doing wrong?

all files compressed django-compressor in cache folder homecoming 404. exist in filesystem , can downloaded via ftp. they're seen when access /static/ folder via browser, when seek access them, throw 404. happens no matter if compress_enabled false or true. permissions set 755.

regular css , js files homecoming 200 ok.

the problem nginx responded huge latency (i'm not sure why). looks tried access files did not exist. after amount of time (5-20 mins) became accessible. nginx - or caching - not configured properly.

django nginx django-compressor

No comments:

Post a Comment