minor tweaks and corrections to get the server serving properly. The http redirect to https still doesn't work though