github.hscsec.cn/hashicorp/consul@v1.4.5/website/redirects.txt (about)

     1  #
     2  # REDIRECTS FILE
     3  #
     4  # This is a sample redirect file. Redirects allow individual projects to add
     5  # their own redirect rules in a declarative manner using Fastly edge
     6  # dictionaries.
     7  #
     8  # FORMAT
     9  #
    10  # Redirects are in the format. There must be at least one space between the
    11  # original path and the new path, and there must be exactly two entries per
    12  # line.
    13  #
    14  #     /original-path    /new-path
    15  #
    16  # GLOB MATCHING
    17  #
    18  # Because of the way lookup tables work, there is no support for glob matching.
    19  # Fastly does not provide a way to iterate through the lookup table, so it is
    20  # not possible to run through the table and find anything that matches. As such
    21  # URLs must match directly.
    22  #
    23  # More complex redirects are possible, but must be added directly to the
    24  # configuration. Please contact the release engineering team for assistance.
    25  #
    26  # DELETING
    27  #
    28  # Deleting items is not supported at this time. To delete an item, contact the
    29  # release engineering team and they will delete the dictionary item.
    30  #
    31  # MISC
    32  #
    33  # - Blank lines are ignored
    34  # - Comments are hash-style
    35  # - URLs are limited to 256 characters
    36  # - Items are case-sensitive (please use all lowercase)
    37  #
    38  
    39  /api.html                           /api/index.html
    40  /docs/agent/http.html               /api/index.html
    41  /api/acl.html                       /api/acl/acl.html
    42  /docs/guides/bootstrapping.html     /docs/install/bootstrapping.html
    43  /docs/guides/sentinel.html          /docs/agent/sentinel.html
    44  
    45  # NOTE: Do not use this redirects file for intro doc links.
    46  #       A custom VCL (Varnish) configuration in the Fastly web admin has been
    47  #       used to redirect from `/intro/getting-started/*` to subpaths of
    48  #       https://learn.hashicorp.com/consul/