Updated server file to (hopefully) work with azure.