Nginx PHP Gotchas

Here are some changes I needed to make to my Nginx conf that didn’t seem obvious to me and will hopefully be of help to others: Random 502 gateway errors fastcgi_buffers 8 16k; fastcgi_buffer_size 32k; 413 Request Entity Too Large This is caused because by default file uploads are limited to 1mb. server { client_max_body_size […]

Read more "Nginx PHP Gotchas"

CodeIgniter Minify

The goal of this project is to provide a simple way to minify and combine js and css files inside a CodeIgniter application. Currently other systems exists but I wanted the compression to be part of my build process. So on deployments I compress and minify all the js and css. Then push off to […]

Read more "CodeIgniter Minify"