improve config for handling long url requests