change rest server configuration