Add server config example
Fix configuration error in server.cpp