This is a known issue in NSX-T 2.4.0. Currently, there is no resolution.
Workaround:
1. Login to Edge Gateway as Root.
2. Edit the following file:
/opt/vmware/nsx-edge/bin/lbconf.template
3. Edit "/opt/vmware/nsx-edge/bin/lbconf.template" and add the following entries in the file:
http {
server_names_hash_bucket_size 128; ---------------------->>>>>>> Add this entry
server_tokens off;
4. Detach and then re-attach the Virtual Server. If you have Ingress service enabled, delete and then re-add the service.
Note: If there are multiple edges, then the config need to be updated on all the edges.