Update server.rb

added https://gist.github.com/DrGonzo65/6395567