adding apache auth when using lang=ruby

Hi there, let me know what you think about this pull request - I made a section that allows you to turn on proxy to port 80 via apache frontend and sprinkle in basic auth.