Category Archives: Quick Tips

Nginx 502 Bad Gateway Error

If you get the following error thrown from nginx: “upstream sent too big header while reading response header from upstream” you might well need to increase your proxy header sizes in the config to: proxy_connect_timeout 90; proxy_send_timeout 180; proxy_read_timeout 180; … Continue reading

Posted in Quick Tips | Comments Off

Finding which package a file belongs to on Debian

With Debian there is a handy utility called apt-file which allows you to see which package owns a file even if it is not currently installed. I used it earlier to find where “mysql_config” lived so I could upgrade DBD::mysql. … Continue reading

Posted in Quick Tips | Tagged | Comments Off