Advisory: Disable SSLv3

After learning about the POODLE attack this week, I highly advise everyone to disable SSLv3 support. If you're using nginx, look for your SSL protocol declarations. They should look something similar to: ssl_protocols SSLv3 TLSv1 TLSv1.1 TLSv1.2; Update the line to: ssl_protocols TLSv1 TLSv1.1 TLSv1…

Configuring nginx as a reverse-proxy for JIRA

We're running nginx as a reverse-proxy for serving several of our applications. Adding JIRA to the mix was mostly smooth and there are just two files to edit. nginx First you'll need to update your nginx configuration to proxy JIRA. The default port is 8080 so the configuration looks like…

nginx connect() to unix:/var/run/php5-fpm.sock failed (13: Permission denied)

While upgrading php5-fpm to 5.4.28, my server lost connection with php and returned a 502 bad gateway response. If you open your /etc/php5/fpm/pool.d/www.conf file, you'll notice that fastcgi is listening to /var/run/php5-fpm.sock. You'll need to grant your webserver privileges…

Restart Syslog on Mac OS X

Restarting your rsyslog service on Ubuntu is easy. service rsyslog restart But how do you do that on a Mac without restarting your machine? Here's how: launchctl unload /System/Library/LaunchDaemons/com.apple.syslogd.plist launchctl load /System/Library/LaunchDaemons/com.apple.syslogd.plist This may look weird if you're…

Capistrano: repository does not exist

Capistrano users, if you've ever updated your project's Git repository and tried to deploy, you'll see an error message similar to: [IPADDRESS :: err] conq: repository does not exist. [IPADDRESS :: err] fatal: The remote end hung up unexpectedly This occurs because the cached copy points to the old repository. To fix…

Little Big Details - Chrome's Audio Icon

Like many, I have 10 to 20 tabs open at any given time. For years, when my browser autoplays audio content, I would frustratedly click through each tab to find the culprit. Frustration! I just noticed a few days ago that Chrome attaches a small audio icon to your tabs…