URI rewrite needed

This article describes what you’re encountering:

Also FYI, you can replace that config with the following (handle_path does the stripping of the path prefix for you, and the * on reverse_proxy is unnecessary):

  handle_path /hikvision/* {
    reverse_proxy http://10.10.x.x:80 {
      import header_options
    }
  }