Home  >  Q&A  >  body text

The nginx location rule is to match the $uri amount, right?

nginx location rule is to match $uri, right?

阿神阿神2714 days ago627

reply all(1)I'll reply

  • 伊谢尔伦

    伊谢尔伦2017-05-16 17:09:46

    $uri represents the URI of the current request, excluding host and request parameters.
    Judging from the official explanation, it can be said that the matching content of location is indeed the same as $uri, but I am not sure whether it is.

    reply
    0
  • Cancelreply