Uploaded image for project: 'Traffic Server'
  1. Traffic Server
  2. TS-1024

remap_required 0 not functioning in revproxy mode

    XMLWordPrintableJSON

Details

    Description

      with
      [records.config]
      proxy.config.url_remap.remap_required INT 0
      proxy.config.http.parent_proxy_routing_enable INT 1
      proxy.config.http.no_dns_just_forward_to_parent INT 1
      ATS still requires a remap URL to be used. The way I worked around this was to have remapped URLs to themselves:
      [remap.config]
      map http://example.com http://example.com
      map http://sub.example.com http://sub.example.com

      With those settings all requests are passed through to my origin, or "parent cache" servers. The pass to the parent cache did not work in 3.0.1. I had to build from the 3.0.x branch for this to function.
      [parent.config]
      dest_domain=. parent="1.2.3.4:80; 4.5.6.7:80" round_robin=strict

      I think this is convoluted given my fairly common setup of two reverse proxies caching/load balancing round robin to a few origin servers. I guess the only "bug" here is that the remap_required parameter is not functioning as well as it could be. I hope for improvement in the way this setup is handled.

      Attachments

        Activity

          People

            jsime Jon Sime
            gregdal Greg Dallavalle
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: