fix config for web server endpoint