Reverse proxy Kibana

@Bargs Sorry if I am not clear to you. I am trying to hit the URL from all sort of combinations. I think posting my configurations will make this more clear.
Here is my kibana.yml file configuration for base path

server.basePath: "/analytics"

Here is my corresponding nginx.config

Can you tell me is there anything wrong with my configuration?
I am trying to hit all sort of combinations in the URL.But nothing is working for me.